Error Question...

liunx

Guest
I ran my page through the W3C's markup validator and i got this error:<br />
<br />
Line 139, column 3: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag <br />
<br><br>test<br />
^<br />
Line 139, column 7: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag <br />
<br><br>test<br />
^<br />
Line 139, column 8: character data is not allowed here <br />
<br><br>test<br />
<br />
<br />
The link for the page is here:<br />
<!-- m --><a class="postlink" href="http://www.geocities.com/manhattanseniors/test/">http://www.geocities.com/manhattanseniors/test/</a><!-- m --><br />
<br />
I don't see anything wrong with putting something on the bottom there, but maybe I'm missing something.<!--content-->maybe it's looking for <br /><!--content-->I could see that if i was writing it in xhtml, but it's just html 4.01 strict. so it shouldn't need the end / in the <br><!--content-->The question above is still plaguing me, but I also have another problem. Here is the link to the validator content: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.geocities.com%2Fmanhattanseniors%2Ftest%2Fcalendar.html">http://validator.w3.org/check?uri=http% ... endar.html</a><!-- m --><br />
<br />
in this problem i'm getting an error message for end tags not having beggining tags. Problem is that they are there, and it's in a javascript, so it shouldn't be checking that part anyways. <br />
<br />
Perhaps this is just me misinterpreting the html 4.01 strict, maybe i'm not allowed to do this, perhaps?<!--content--><br> should be placed in a block-level element like div, td, h#, p etc.<br />
<br />
<p>Blah blah<br>blah blah</p><br><br />
<br />
<br>: valid<br />
<br>: invalid<!--content-->
 
Back
Top