section nested within elements, elements nested within section
Classified as: flow content, sectioning content, palpable content
Parents, section
Children, section
Examples: section parents, section children
1 2 3 4 5 6 7 8 9 10 11 12 13 | <!doctype html> <> <> <>...</> </> <> <> ... </> </> </> |
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 | <!doctype html> <> <> <>...</> <>...</> </> <> <> <> ... </> </> </> </> |
Syntax 1: Valid, section nested within body: allowed
Syntax 2: Valid, p nested within section: allowed
Syntax 3: Invalid, section nested within head, h1: not allowed