What Is the HEAD Tag/Element

Q

What Is the HEAD Tag/Element? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags

✍: FYIcenter.com

A

The head element is the second element you need to learn. The head element is used to provide information about the XHTML document. The head element should not be used to contain any contents of the XHTML document. Here are some rules about the head tag/element:

  • The head element is a second level element. The head element must be the first child element of the html element.
  • You can only place a single head element in an XHTML document.
  • The head element must be coded with the head opening tag, <head>, and the head closing tag, </head>.
  • The head element must have one title element as the required child element.
  • The head element can have other optional elements.
  • The head element can not have any text information directly included between the opening and closing tags.

2007-05-12, 4682👍, 0💬