Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index

XHTML Tutorial - XHTML Elements with EMPTY Contents

By: FYIcenter.com

(Continued from previous topic...)

What Are the XHTML Elements Defined with EMPTY Contents?

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.

(Continued on next topic...)

  1. What Is the XHTML Element Content?
  2. What Are the XHTML Element Content Models?
  3. What Are the XHTML Elements Defined with EMPTY Contents?
  4. What Are the XHTML Elements Defined with PCDATA Contents?
  5. What Are the XHTML Elements Defined with Sub-elements Contents?
  6. What Are the XHTML Elements Defined with Mixed Contents?
  7. What Is PCDATA?
  8. What Is an XHTML Entity?
  9. What Is CDATA?
  10. What Is a Sub-element?
  11. Can Two Elements Partially Overlap Each Other?
  12. What Is the Sequence of Sub-elements?
  13. What Is a Required Sub-element?
  14. What Is a White Space Character?
  15. How Exactly White Space Characters Are Ignored?
  16. How To Get an Extra White Space?


Selected Developer Jobs:

More...