HTML 'head' Tag/Element

Q

What Is the HTML "head" Tag/Element?

✍: 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.

 

HTML 'body' Tag/Element

Second Level Structure of HTML Documents

HTML Document Structure and Head Level Tags

⇑⇑ HTML Tutorials

2024-01-19, 1241🔥, 0💬