HTML 5 Head Tag
The head tag in HTML 5 is a container for all the head elements including title, scripts, styles, meta information, links, and so on.
Among all the html 5 head tag elements, only title tag is a must-have, while others are optional in html 5 head tag section.
The title element in HTML 5 Head section is very important for:
- It defines a title in the browser toolbar
- It provides a title for the page when it is added to favorites
- It displays a title for the page in search-engine results
For example, the title for our HTML 5 Video Player home page is “HTML5 Video Player”, try Google search for‘html5 video player’, you will see the search result with our website URL and title displayed as bellow:
The tag included in head tag in html 5 defines the relationship between a document and an external resource. It is most used to link to style sheets.
Meta elements in html 5 head tag are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
Comments are currently closed.