I'm trying to figure out which HTML tags can be nested in other HTML tags so I can write a valid HTML 5 document for W3C and respect the flow.
Is there a list that contains for each HTML tag all the elements it can contain?
For example for the <a> tag it can contain:
TT | I | B | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP |
KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | OBJECT | BR |
SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON
I have already searched on W3C or Google but it's needed to search for each tag.