This commit is contained in:
2023-11-23 13:42:43 +01:00
parent 0ed90ace18
commit ed3b23c5ef
23 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Etiqueta de enlaces
<a> </a>
Ejemplo
<a href="https://www.google.es"> Enlace </a>
Propiedad target:
- Target="_blank" abre el enlace en una nueva pestaña o ventana del navegador
- Target="_self" es la opción por defecto, mostrando el contenido del link en la misma ventana
Enlace en una imagen
<a title="La Rosa" href="https://es.wikipedia.org/wiki/Rosa"><img src="rosa.jpg" alt="La rosa" ></a>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<a style="display: block;" title="Clavel" href="https://es.wikipedia.org/wiki/Clavel" target="_blank">Clavel</a>
<a style="display: block;" title="Clavel" href="https://es.wikipedia.org/wiki/Clavel" target="_blank">
<img src="./imagenes/clavel.jpg" alt="Un Clavel">
</a>
<a style="display: block;" title="Geranio" href="https://es.wikipedia.org/wiki/Geranio" target="_blank">Geranio</a>
<a style="display: block;" title="Geranio" href="https://es.wikipedia.org/wiki/Geranio" target="_blank">
<img src="./imagenes/geranio.jpg" alt="Un Geranio">
</a>
</body>
</html>