Which HTML tags do not have content

Some HTML tags, such as br and hr, have no content and cannot have an end tag. What is the complete set of these tags?

+6
html xhtml
source share
5 answers
+8
source share
+3
source share

Each tag in a DTD that has EMPTY in the fourth field is empty.

0
source share

http://www.w3schools.com/tags/default.asp

Anyone with a slash in the tag name. (correction) thanks = O

0
source share

Html does not force the document to be well formatted, so end tags for certain tags, such as <br> and <hr> , may be omitted, and yet the page loads fine, but it looks like they cannot have end tags </br> and <br /> works fine. There are probably no sections such as content and non-content tags; see this article for more information on http://www.devx.com/projectcool/Article/19816 tags

-one
source share

All Articles