- Including the processing instruction line (the XML prolog) is recommended, but not required:
- Doctype declaration is required:
- Namespace designation is required:
- Html, head, body, and title elements are required:
- Tags and attributes must be lowercase:
- Attribute values must be quoted:
- Non-empty tags must be terminated with a closing tag:
- Empty tags (e.g., hr, br, img) must incorporate a slash:
- Elements can't overlap—they must nest properly:
font-size="large"
text
text
No comments:
Post a Comment