XHTML 1.0 Document
- XHTML elements must be properly nested.
- XHTML elements must always be closed. Except empty
elements, which are terminated using a forward slash.
- XHTML elements must be in lowercase.
- XHTML documents must have one root element.
- Attribute names must be in lower case.
- Attribute values must be quoted.
- Attribute minimization is forbidden.
Examples 1 (wrong): (View Page Source)
Google
Gmail
Examples 2 (correct): (View Page Source)
Google
Gmail
HTML Tutorials