sub nested within elements, elements nested within sub
Classified as: flow content, phrasing content, palpable content
Parents, sub
Children, sup
Examples: sub parents, sub children
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!doctype html> <> <> <>...</> </> <> <> <> ... </> </> <>...</> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <!doctype html> <> <> <>...</> </> <> <> <> <> ... </> </> </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!doctype html> <> <> <>...</> <>...</> </> <> <> <> ... </> </> </> </> |
Syntax 1: Valid, sub element nested within p, body: allowed
Syntax 2: Valid, b nested within sub: allowed
Syntax 3: Invalid, sub nested within head: not allowed; article nested within sub: not allowed