In XML, if an element has no , it can be represented
as an empty element of this form:
content
<element-nameattributes…/>
This rule affects HTML elements such as hr
(horizontal rule), which draws a horizontal ruled line
across the page:
| HTML | XHTML |
|---|---|
<hr> | <hr/> |