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