HTML Empty Element

HTML Empty Element

HTML empty element

An HTML element without content is called an empty element.

The Empty element is closed in the opening tag (<br />).

But even if you don't close the empty tag in HTML (5). But if you want to validate or read your document with an XML parser, then you must close all the elements correctly.




     Sets the area of the <map> tag.


     Specifies the original URL of all links used on the page.


     Breaks a line.


     The <colgroup> element is used to set the column


     Used to display embedded files, images, plug-ins.


     The two sections create horizontal lines to represent the keys separately.


     Used to display images.


     Creates an input field.


     The key generator creates the field.


     Adds an external style sheet to the document.


     Contains additional information in the document.


     Used to determine parameters.


     Adds media element's resources.


     Adds text tracks for media elements.


     Breaks in specific places of sound.

<br> Element

The <br> element is used to show a part of a line to the next line or to pause between lines.


  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>HTML example</title>
  5. </head>
  6. <body>
  7.     <p>This is a paragraph <br> It will appear on the next line.</p>
  8. </body>
  9. </html>



This is a paragraph
It will appear on the next line.


<hr> element:

The <hr> element is used to separate the two sections.


  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>HTML element</title>
  5. </head>
  6. <body>
  7.     <h3>Document heading</h3>
  8.     <p>This is a paragraph</p>
  9.     <hr>
  10.     <h3>Document heading</h3>
  11.     <p>This is a paragraph</p>
  12. </body>
  13. </html>



Document heading
This is a paragraph

Document heading
This is a paragraph

Visit our HTML tags reference section to learn about all tags, including empt tags.

Tag: HTML empty element,html area tag, html base tag, html br tag, html col tag, html embed tag, html hr tag, html img tag, html input tag, html keygen tag, html link tag, html meta tag, html param tag, html source tag, track, html wbr tag, html br Element, html hr Element, HTML Single tag, html empty elements list, html empty element space, html empty elements examples

Thank You: