HTML 'head' Element Structure


How To Write a "head" Element Properly?



The head element can not be empty. It must contain the title element, defined by the "title" tag. The head element may contain a number of other miscellaneous elements, like base, script, style, meta, link, and object elements.

Here is good head element:

  <title>My First HTML Document</title>
  <base href=" /">
  <meta name="Author" content="" />
  <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
  <script type="text/javascript" src="/_local.js"" />
  <link rel="stylesheet" type="text/css" href="/_local.css" />


⇒HTML Document Structure and Head Level Tags

⇒⇒HTML Tutorials

2017-02-20, 962👍, 0💬