What Are the XHTML Elements Defined with Sub-elements Contents

Q

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

✍: FYIcenter.com

A

The following XHTML elements are defined to use the sub-element content model:

  • <html> - The root element of the document.
  • <head> - Element to provide head information to the document.
  • <ul> - Element to provide an un-numbered list.
  • <ol> - Element to provide an ordered list.
  • <form> - Element to provide an input form.
  • <select> - Element to provide a selection control in a form.
  • <table> - Element to provide a table structure in the document.
  • <tr> - Element to provide a row to a table.

Remember that sub-element content elements can only have other XHTML elements in their contents. You can not include any test strings directly in their contents.

2007-05-12, 4618👍, 0💬