HTML <meta> tag
HTML <meta> tag
The <meta>
tag adds machine-readable information to an HTML document.
Information added with the <meta> tag is used by the web crawler and the browser but it is not displayed to the user.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="keywords" content="HTML,CSS,Javascript">
</head>
<body>
<p>Body content goes here.</p>
</body>
</html>
Attributes
The following are the attributes of <scheme> tag. Also try Global attributes.
Attribute | Value | Explanation |
---|---|---|
charset | character_set | Specifies the character encoding for the web page. |
content | text | Contains the value for the name or http-equiv attribute, depending on which is used. |
http-equiv |
| Specifies the name of a HTTP header. |
name |
| Specifies the name of the metadata. |
Deprecated Attributes
The following attribute should not be used in any case.
Attribute | Value | Explanation |
---|---|---|
scheme | format | Specifies the scheme in which metadata is described. |
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.