Menu

Void elements in HTML

There are six categories of HTML elements. Void element is one among the six categories that have the following HTML elements. Void elements or tags do not need the closing tag and always be closed in the same opening tag, that's why we also refer to these elements as self-closing elements. Void elements can't have child elements or content.

  1. area
  2. base
  3. br
  4. col
  5. embed
  6. hr
  7. img
  8. input
  9. link
  10. meta
  11. param
  12. source
  13. track
  14. wbr

No comments:

Post a Comment