According to HTML 4.01, there are three different groups when it comes to elements and tags.
- Elements that must have a closing tags. E.g. <h1></h1>
- Elements that may have no closing tag. E.g. <li>
- Elements that may not have a closing tag. E.g. <br> - the W3C validator for HTML 4.01 warns on <br />
I looked high and low in the specification and could find no term used to describe tags in the third grouping.
The term "empty" only says that there currently isn't any content between the tags. This applies to 1 & 2 above.
My proposal: although W3C doesn't saying anything about it, as far as I could tell, it might be possible to refer to elements like <br> as "white space elements", since they are considered to be white space, and they are elements. "White space characters", such as , are not elements, so there should be no confusion. Anyone see any problems with this? If not, maybe we should make a proposal to W3C.