Im Having HTML Markup Problems?

  • Thread starter Thread starter DazzleIT
  • Start date Start date
D

DazzleIT

Guest
I have a page that uses the <li> tag and was wondering how to insert a line break that wont affect the box layout its contained within. At the moment im using the <br> but when im trying to validate the code it errors out.

Please can anyone tell me what im doing wrong please.
I get this error message:

Line 47, Column 22: document type does not allow element "br" here; assuming missing "li" start-tag
<br />
Ok do i need end tags for this?
<br /> thats what errors
 
do this:

< br / > (take out the spaces around the brackets. Leave one in front of the slash).

The version of the break you used won't validate in XHTML validators.
 
Back
Top