th nested within elements, elements nested within th
Classified as: interactive content (if sorted attribute is present on th element)
Parents, th
Children, th
Examples: th parents, th children
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <!doctype html> <> <> <>...</> </> <> <> <>...</> <> <><>...</></> </> ... </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <!doctype html> <> <> <>...</> </> <> <> <>...</> <> <><><>...</></></> </> ... </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <!doctype html> <> <> <>...</> <>... </> <> <>... <> <> <>...</> </> </> </> </> |
Syntax 1: Valid, th nested within tr: allowed
Syntax 2: Valid, b nested within th: allowed
Syntax 3: Invalid, th nested within elements(head, body, p) other than tr: not allowed; h1 nested within th: not allowed