Skip navigation
newsletter signup

Why Have We Gone From <br> to <br />?

May 29, 2007
Forum member "Doogie" wonders why we've gone from <br> to <br />?
 
 
Post Comment

 Rick F. said:
Mostly to be XHTML compatible.

XHTML requires that all tags be lower case, and that ALL tags be closed.

So <p> must be followed by </p> to be "closed", but tags which generally don't enclose any page elements can be closed by the space and / within the tag.

So you could have <img src="blank.gef" /> as well as <br />.

<br> to <br />

Capiche?

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/kuto5pho/privatenfcms/sessions) in Unknown on line 0