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