<head> tag in HTML
The <head> tag is used to defines the head section of HTML document. Which containes all head elements including <title>, <style>, <link>, <script>, <base>, <noscript>, and <meta> tags.
Important Description
- The <title> tag is required in an HTML document.
- Open and close tag required of <head>.
Example of <head> tag
<head> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<head> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Attributes
The "profile" attribute is not supported in HTML5:
Attribute |
Value |
Description |
profile |
URL |
Defines a URL to a document that contains a set of rules. |