View Full Version : <br /> causing errors in validation

02-19-2009, 10:29 PM
Hi, Just wondering how I can correct my code to get rid of following validation errors relating to my use of the <br /> tag..


basically I want to be able to add blank lines for spacing. Can I use something else other than <br />

02-19-2009, 10:44 PM
A better way is to use CSS margins. But if you're set on using line breaks temporarily, use <br> without the self-closing /. Your DOCTYPE specifies HTML, where tags don't have to be closed, whereas with XHTML they do.

02-19-2009, 11:17 PM

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum