HTML CSS examples for HTML:Element
There are elements that must be expressed using a single tag, known as void elements. It is illegal to place any content in them.
For example, hr is a void element, which is a paragraph-level break.
You can use void elements in one of two ways:
the first is to specify only a start tag.
I like CSS. <hr> I like HTML.
the second is to express Void Elements Using the Empty Element Structure
I like CSS. <hr /> I like HTML.