Incorrect HTML 'head' Element

Q

What Is Wrong with This XHTML "head" Element?

✍: FYIcenter.com

A

If you have trouble passing the XHTML 1.0 validation on your head element, check the following common mistakes:

  • Missing the title element.
  • Not closing the meta element as <meta ... >. You must close all elements in XHTML documents.
  • Not closing the link element as <link ... >. You must close all elements in XHTML documents.
  • Extra text outside any tags in the head element.

 

Missing XHTML 'title' Element

HTML 'title' Tag/Element

HTML Document Structure and Head Level Tags

⇑⇑ HTML Tutorials

2017-06-28, 1511🔥, 0💬