What are all the valid self-closing tags in XHTML (as implemented by the major browsers)?

Posted by kamens on Stack Overflow See other posts from Stack Overflow or by kamens
Published on 2008-09-18T22:10:44Z Indexed on 2010/06/13 12:22 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

What are all the valid self-closing tags (e.g. <br/>) in XHTML (as implemented by the major browsers)?

I know that XHTML technically allows any tag to be self-closed, but I'm looking for a list of those tags supported by all major browsers. See http://dusan.fora.si/blog/self-closing-tags for examples of some problems caused by self-closing tags such as <div />.

© Stack Overflow or respective owner

Related posts about html

Related posts about XHTML