nav nested within elements, elements nested within nav
Classified as: flow content, sectioning content, palpable content
Parents, nav
Children, nav
Examples: nav parents, nav 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 | <!doctype html> <> <> <>...</> <>...</> </> <> <> <><>...</></> </> </> </> |
Syntax 1: Valid, nav nested within body: allowed
Syntax 2: Valid, a nested within nav: allowed
Syntax 3: Invalid, nav nested within head, h1: not allowed; main nested within nav: not allowed