I'm not allowed to use h3's and p's in my body? What the heck?
-
The W3C validator gives me this spectacularly unhelpful error:
document type does not allow element “h3” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
The mentioned element is an h3 tag. And I get the same error for p’s. As far as I can tell, there aren’t any open inline elements before this. Any ideas?
- The topic ‘I'm not allowed to use h3's and p's in my body? What the heck?’ is closed to new replies.