Es un lenguaje que consta de texto y marcas, también conocidas como etiquetas.
Las
marcas
Inician con el caracter
<
y terminan con
>
.
Indican como desplegar el texto; por ejemplo, el texto entre
<h1>
y
</h1>
resalta más.
1 | <!DOCTYPE html> |
2 | <html lang="es"> |
3 | <head> |
4 | <meta charset="UTF-8"> |
5 | <meta name="viewport" |
6 | content="width=device-width"> |
7 | <title>Ejemplo</title> |
8 | </head> |
9 | <body> |
10 | <h1>Ejemplo</h1> |
11 | <p>Hola mundo.👶</p> |
12 | </body> |
13 | </html> |