description & Usage
The <head> tag provides a section in html documents for entering information called metadata, which is located between the <html> and <body> tags of the corresponding document.
Metadata or <meta> tags will not be displayed to the user and are used for browsers.
The following tags are placed inside the <head> section:
- <title> tag
- <style> tag
- <base> tag
- <meta> tag
- <script> tag
- The <noscript>
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<head> |
Global Attributes
The head tag supports the HTML Global Attributes.
Event Attributes
The head tag supports the HTML Event Attributes.
More Examples
Default CSS
Most browsers will display the head tag with the following default style: