head ... /head syntax, optional element
Syntax head: optional element
- start tag <head> is optional if:
- head element is empty or
- he first thing inside the head element is an element: e.g. Syntax 3
- end tag <⁄head> is optional if:
- head element is not immediately followed by a comment or a space character
Examples head syntax: optional element
1 2 3 4 5 6 7 8 9 | <!doctype html> <> <> <⁄> <> <⁄> <⁄> |
1 2 3 4 5 6 7 8 9 | <!doctype html> <> <⁄> <> <⁄> <⁄> |
1 2 3 4 5 6 7 8 9 | <!doctype html> <> <> ... <⁄> <⁄> <> <⁄> <⁄> |
1 2 3 4 5 6 7 8 9 | <!doctype html> <> <> <> <⁄> <⁄> |
1 2 3 4 5 6 7 8 9 10 | <!doctype html> <> <> <⁄> <⁄> |
Valid Syntaxes: 1, 2, 3, 4, 5