Ferramentas do usuário

Ferramentas do site


tag-links-html2

Essa é uma revisão anterior do documento!


LINKS

<A HREF=“nomedoarquivo.html” TARGET=“_blank”> Identificando o link aqui. </A>

Parâmetros

HREF –> refere-se ao arquivo html ou endereço www (url);

TARGET –> quer dizer alvo, ou seja, onde a página deverá ser aberta, possíveis valores:

   _SELF --> é o padrão, abre o link na mesma página
   _BLANK --> abre o link em uma página/aba nova.

OBS: Existem outros dois parâmetros mas não iremos ver, pois são menos usuais.

EXERCÍCIO:

Criar uma página em html que abra os links abaixo, em uma nova página/aba:

http://www.terra.com.br http://www.leandromesquita.com.br http://www.w3schools.com http://translate.google.com http://classroom.google.com

Veja a correção do exercício abaixo:

exercicio.html
<html>
      <!-- Este eh o cabecalho do arquivo html -->
      <head>
           <meta charset="UTF-8" />
           <title>Links - Exercício </title>
      </head>
      <body>
         <A HREF="http://www.terra.com.br" TARGET="_blank"> Notícias </A> <br />
         <A HREF="http://www.leandromesquita.com.br" TARGET="_blank"> Prof. Leandro </A><br />
         <A HREF="http://www.w3schools.com" TARGET="_blank"> W3Schools - Tutpriais em html. </A><br />
         <A HREF="http://translate.google.com" TARGET="_blank"> Tradutor do Google. </A><br />
         <A HREF="http://classroom.google.com" TARGET="_blank"> Google Sala de Aula. </A>
      </body>
</html>
tag-links-html2.1647648236.txt.gz · Última modificação: 2022/03/18 21:03 por Leandro Mesquita