br nested within elements
Classified as: flow content, phrasing content
Parents, br
Children, br
Examples: br parents
1 2 3 4 5 6 710 11 12 13 | <!doctype html> <> <> <>...</> </> <> <> ... <> ... <> ...</> </> </> |
1 2 3 4 5 6 710 11 12 | <!doctype html> <> <> <>...</> <> </> <> </> </> |
Syntax 1: Valid, multiple br elements allowed per HTML5 document; br nested inside p: allowed
Syntax 2: Invalid, br nested inside head: not allowed