PDA

View Full Version : Validation errors



47x
Mar 25th, 2010, 10:13 PM
Help, I don't know how to fix these errors that I get.

Line 29, Column 23: document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<p><h1>Všlkommen</h1></p>

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 "<a>", "<span>", or "<font>").

Excavator
Mar 25th, 2010, 10:22 PM
Hello 47x,
It's telling you that you can't have a heading tag inside paragraph tags.
Should be like this <h1>Všlkommen</h1> instead.

47x
Mar 25th, 2010, 11:23 PM
aha, ok thanks alot:)