description & Usage
To use meta data in html documents, the <meta> tag is used
The place to use meta tags in the relevant document is inside the <head> tag.
The <meta> tag is used to specify the number of characters, page descriptions, keywords, the name of the author of the document, and basic settings.
Meta data is not displayed to the user but is read by browsers.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<meta> |
Attributes
Attributes | Values | Description |
---|---|---|
charset |
character set
|
en |
content |
text
|
en |
name |
all value
|
en |
Global Attributes
The meta tag supports the HTML Global Attributes.
Event Attributes
The meta tag supports the HTML Event Attributes.