Skeleton of an HTML document

An HTML document follows a standard structure: the <!DOCTYPE html> declaration, the <html> root element with the lang attribute, a <head> containing the metadata (<meta charset>, <title>) and a <body> for the visible content. This skeleton is the basis of every web page.

Example

<!DOCTYPE html>
<html lang="fr">
<head><meta charset="utf-8"><title>Page</title></head>
<body></body>
</html>

Related concepts

The whole glossary