What Are the XHTML Elements Defined with EMPTY Contents

Q

What Are the XHTML Elements Defined with EMPTY Contents? - XHTML Tutorials - Introduction To Element Content Syntax

✍: FYIcenter.com

A

The following XHTML 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.

2007-05-12, 4957👍, 0💬