ddoc $(BR)

Unknown W. Brackets unknown at simplemachines.org
Tue May 9 21:11:41 PDT 2006


Okay, in this case you have a <br> outside a block level element, like 
those listed.  Probably it's just inside body, in this case.

Again, this is more of a semantic issue.  Personally I think quite a few 
things would need to change to output valid content.  But I can come up 
with a patch to cleanup the HTML 4.

-[Unknown]


> Unknown W. Brackets escribió:
>> In that case, check where they are being used.
>>
>> You can't put <br> elements inside some sorts of elements, such as 
>> <ul>.  Many people do this, however, because browsers will do it (even 
>> though it is invalid.)
>>
>> Sorry for making the assumption that the issue was about XHTML.  Can 
>> you post the error message you're getting from the validator?
>>
> 
> No problem.
> 
> Here are selected messages:
> 
> This page is not Valid HTML 4.01 Strict!
> 
> Line 11 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.
> 



More information about the Digitalmars-d-bugs mailing list