summary nested within elements, elements nested within summary
Classified as: -
Parents, summary
Children, summary
Examples: summary parents, summary children
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> <> <> <>...</> </> <> <> <>...<>...</></> ... </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!doctype html> <> <> <>...</> <>...</> </> <> <>...</> <> <>...</> </> </> </> |
Syntax 1: Valid, summary nested within details (as its first child): allowed
Syntax 2: Valid, b nested within summary: allowed
Syntax 3: Invalid, summary nested within elements(head, body, p) other than details: not allowed