HTML Meta Tag

Definition

  • HTML <meta> tag is very useful for Web developers. Meta Tag contain the information about web page keyword, description, focused key word etc. everything meta contain is optimize the web page in Search Engine.

  • HTML Metadata is loosely defined as key data about your web page. Though this definition is easy to remember, it is not very precise. The strength of this definition is in recognizing that metadata is data. As such, metadata can be stored and managed in a database, often called a registry or repository. However, it is impossible to identify metadata just by looking at it. We don't know when data is metadata or just data.

  • HTML Metadata is a concept that applies mainly to electronically archived data and is used to describe the a) definition, b) structure and c) administration of data files with all contents in context to ease the use of the captured and archived data for further use. Web pages often include metadata in the form of meta tags.

  • Description and keywords meta tags are commonly used to describe the Web page's content. Most search engines use this data when adding pages to their search index.

Example

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
  <meta name="description" content="online web development tutorials 
  Includes HTML Tutorial, Example codes." />
  <meta name="keywords" content="html, free, tutorials, html5, tutorial 
  in html,dynamic, online, web, design, tricks, development, 
  site builder, for beginners, master, builder, howto, 
  learn, pdf, editor" />
  <meta name="robot" content="index,follow" />
  <meta name="revisit-after" content="5" />
</head>
<body>
</body>
</html>

<meta> Tag Attributes

Attributes Value Description
content "text" Specifies the content of the web page.
http-equiv "content-type"
"content-style-type"
"expires"
"refresh"
"set-cookie"
Specify HTTP header Information.

Specify the time of expires.
Specify the time of refresh.
Specify the limit of the cookie.
name author
description
keywords
Specify the name for the author information.
Specify the website content.
Specify the website content keyword.

Use Our Excellent Code Generator Meta Code Generator