HTML Elements with EMPTY Contents

Q

What Are the HTML Elements Defined with EMPTY Contents?

✍: FYIcenter.com

A

The following HTML elements are defined to use the EMPTY content model:

  • <meta ... /> - Element to provide meta data to the document.
  • <link ... /> - Element to provide a link to a CSS file.
  • <br/> - Element to break a line.
  • <hr/> - Element to insert a horizontal line.
  • <img/> - Element to insert an image.
  • <input/> - Element to provide input control in a form.

Remember that EMPTY content elements can not have any content and must be closed immediately.

 

Introduction of HTML Element Content Syntax

⇒⇒HTML Tutorials

2017-07-30, 238👍, 0💬