What is the difference
vs
??
Al
If you're writing (valid) XHTML you don't need to use the closing tag, but self closing div tags don't work in all browsers, so you should still use it. ie your example:
` `
This is valid XHTML (see html vs xhtml) but doesn't work in all browsers, so you should stick with the above:
also, For what it's worth the
tag is deprecated in favor of the
tag (see w3.org entry on the
tag)