Un documento HTML è composto da tre parti principali:
-
<?xml version="1.0" encoding="UTF-8"?> |<-- Definizione del tipo
<!DOCTYPE html ... > | di documento
-
<html>
-
<head> ... </head> <-- Intestazione del documento | <-- Documento
<body> ... </body> <-- Corpo del documento |
-
</html>