Elements -- empty

If an element is empty (no child elements, neither text content inside), then we write just empty element tag, eg.:

<tagname tagattribute1 tagattribute2... />      

Příklad 2. Ex. of empty elements

<hr width='50%'/>    

Or equivalently (from logical viewpoint):

Příklad 3. Empty element written with both tags:

<hr width='50%'></hr>