Next / Previous / Contents / TCC Help System / NM Tech homepage

4.2. The empty element syntax

In XML, if an element has no content, it can be represented as an empty element of this form:

<element-name attributes…/>

This rule affects HTML elements such as hr (horizontal rule), which draws a horizontal ruled line across the page:

HTMLXHTML
<hr>
<hr/>