- Open with proper Doctype and namespace
- Declare content type using META content element
- Write all elements and attribute names in lowercase
- Quote all attribute values
- Assign values to all attributes
- Close all tags
- Close “emtpy” tags with space and slash
- Do not put double dashes inside a comment
- Ensure that less than and ampersand are < and &