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

XHTML Tutorial - "head" Tag/Element

By: FYIcenter.com

(Continued from previous topic...)

What Is the "head" Tag/Element?

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.

(Continued on next topic...)

  1. What is the Top Level Structure of an XHTML Document?
  2. How Many Document Types Defined in XHTML 1.0?
  3. What Is the "html" Tag/Element?
  4. What is the Second Level Structure of an XHTML Document?
  5. What Is the "head" Tag/Element?
  6. What Is the "body" Tag/Element?
  7. How To Write a "head" Element Properly?
  8. What Is the "title" Tag/Element?
  9. What is a Smallest Valid XHTML Dodument?
  10. What Is Wrong with This "head" Element?
  11. What Happens If the "title" Element is Missing?
  12. What Happens If a "meta" Element Is Not Closed?
  13. What Is a "meta" Tag/Element?
  14. What Is the Description "meta" Tag/Element?
  15. What Is the Keywords "meta" Tag/Element?
  16. What Is the Robots "meta" Tag/Element?
  17. What Is a http-equiv "meta" Tag/Element?
  18. What Is the Author "meta" Tag/Element?
  19. What Is the "base" Tag/Element?
  20. What Is a "script" Tag/Element?
  21. What Is a "link" Tag/Element?
  22. What Is a "style" Tag/Element?

Selected Developer Jobs: