-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEjercicio18.html
More file actions
22 lines (22 loc) · 897 Bytes
/
Ejercicio18.html
File metadata and controls
22 lines (22 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!--Modifica el ejercicio 17, de forma que se introduzca un nuevo hiperenlace formado por
una imagen, y salte a la “URL” donde la hayas encontrado. Al saltar nos quedaremos en la
misma ventana en la que estamos-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mi página web</title>
</head>
<body style="background-color: turquoise;">
<h1 style="color: yellow;">Acceso a Google</h1>
<!-- Enlace que abre Google en una nueva ventana -->
<a href="https://www.google.es" target="_blank">
Entrada en GOOGLE manteniendo mi página actual
</a>
<h2 style="font-family: Georgia, 'Times New Roman', Times, serif;">Hiperenlace con mi página actual</h2>
<a href="https://www.google.es">
<img src="Imágenes para mis webs/leon.jpg">
</a>
</body>
</html>