TRABALHANDO COM LINKs

19/06/2019

CHAMANDO UM CSS ATRAVÉS DE LINK ABRINDO PÁGINAS EM ABAS DIFERENTES, LINKS NA FOTO 

Para chamar uma folha de estilo css para ser lida e formatar cor de letra tamanho etc.. usa-se o código:

<link rel="stylesheet" type="text/css" href="aqui o arquivo.css"/>

MODELOS DE LINKs:

NUNCA SE COLOCA UM LINK DENTRO DE UM BOTÃO E SIM O BOTÃO DENTRO DO LINK COMO NO EXEMPLO ABAIXO:

<a href="pagina.html"><button>LINK</button></a>

1- abrir link na mesma aba [página]

<a href="pagina.html">link</a>

2- abrir link em outra aba [página]

<a href="pagina.html" target="_blank"> link outa aba</a>

note que foi acrescido _blank para se abrir em outra página

3- Imagem link na FOTO:

<a href="pagina.html"target="_blank">

<img src="img/images.png" alt="foto icone" />

</a>


NOTA:

PARA TIRAR O SUBLINHADO DO LINK:

<style type="text/css">

a:link {

text-decoration:none;

}

a:visited {

text-decoration:none;

}

a:hover {

text-decoration:underline;

}

</style>




Crie seu site grátis! Este site foi criado com Webnode. Crie um grátis para você também! Comece agora