View Full Version : what is /> for?
OGT
Sat 24th Apr '04, 11:46pm
Why is " />" placed seemingly at random to close some tags and not others in templates?
Zachery
Sat 24th Apr '04, 11:52pm
All tags that open must close :)
single tags like br only are placed once so they must open and close for XHTML validity. <br /> :)
OGT
Sun 25th Apr '04, 1:34am
ah!
thanks!
Floris
Sun 25th Apr '04, 5:55am
<tag>-open-This tag surrounds text and does something to it-close-</tag>
<tag src="something" />
The first one requires to get closed,
the second one doesn't, but gets closed by the / in the end.
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.