web08TeoriaEnlaces

Los enlaces tienen la estructura siguiente:

<a href="destino">contenido</a>

Tipos:

Enlace remoto:

<a href="http://www.iesvillavieja.es">Web IES Villavieja</a>

Enlace ancla:

origen →     <a href="#abajo">Ir abajo</a>
destino (ancla),asignamos nombre →     <a name="abajo"></a>

Enlace a a correos:

<a href="mailto:nombre@gmail.com">Enviar correo</a>

Enlace a un archivo:

<a href="mi_fichero.zip">Descarga mi_fichero.zip</a>

Enlace con una imagen:

<a href="http://www.google.com"><img src="clicaqui.jpg"/></a>

TRUCO: La etiqueta target=”_blank” sirve para que el enlace se abra en una nueva ventana

<a href="http://www.iesvillavieja.es" target="_blank">Web IES Villavieja</a>

Práctica 8. a

Hacer una web con enlace a las 5 siguientes páginas:

https://www.google.es/
https://www.iesvillavieja.es
http://www.youtube.com
http://www.ivoox.com
http://www.casadellibro.com

Anuncio publicitario
A %d blogueros les gusta esto: