HTML META Tag
Hello Guys,
HTML had many varieties of tags.Especially In this article we will dicuss about HTML <meta> Tag
The <meta> tag defines metadata about the HTML document. Metadata is data (information) about data. ...Metadata will not be displayed on the page but can be parsed on the computer. Browsers (how to display content or reload pages), search engines (keywords),and other web services all use metadata.
RESOURCES : W3SCHOOLS
HTML had many varieties of tags.Especially In this article we will dicuss about HTML <meta> Tag
![]() |
<MRTA>TAG |
The <meta> tag defines metadata about the HTML document. Metadata is data (information) about data. ...Metadata will not be displayed on the page but can be parsed on the computer. Browsers (how to display content or reload pages), search engines (keywords),and other web services all use metadata.
Examples
Describe metadata within an HTML document:
<head>
<meta charset="UTF-8">
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Definition and usage
The <meta> tag defines metadata about the HTML document. Metadata is data (information) about data.
The <meta> tag is always located in the <head> element and is usually used to specify the character set, page description, keywords, document author, and viewport settings.
The metadata will not be displayed on the page, but can be parsed on the computer.
Browsers (how to display content or reload pages), search engines (keywords) and other web services all use metadata.
Web designers can control the viewport (the visible area of the user on the webpage) through the <meta> tag (see the "Setting Viewport" example below)
Define keywords for search engines:
<meta name="keywords" content="HTML, CSS, JavaScript">
Define a description of your web page:
<meta name="description" content="Free Web tutorials for HTML and CSS">
Define the author of a page:
<meta name="author" content="John Doe">
Refresh document every 30 seconds:
<meta http-equiv="refresh" content="30">
Setting the viewport to make your website look good on all devices:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
RESOURCES : W3SCHOOLS
Comments
Post a Comment