---
tags:
- html
- web
---
This describes [[HTML]] document structure.
**Mandatory**
```
```
[lang attribute](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang#language_tag_syntax) region is option (e.g nl-NL), we can just say nl. The lang attribute can be used on any part that contains text, to denote a different locale from the main one.
**Charset must come before title** and it makes sure the browser can render text correctly.
The **head** element is the place to load [[CSS]] it contains:
- [[Link elements]]
- [[Script elements]]
- [[Base elements]]
- [[Meta elements]]