Html Meta Tag

The html meta tag is used to tells metadata for the HTML page. We will define meta tag 4 types that is decription, author, keywords and page refresh or set cookies. In the <meta> tag we will use inside of between <head> and </head> tag. In the metadata can not see user but it identify machine only.

Information about data is called the Metadata. Also which tag you can use to SEO optimization.

Syntax:

<meta name = "" content = "" />
<meta http-equiv = "" content = "" />

Example Code

<html>
<head>
    Following example define keywords for search engines:
    <meta name = "keywords" content = "HTML, CSS, PHP, PHP Scripts" />

    Following example define a description for web page:
    <meta name = "description" content = "Free html Tutorials" />

    Following example define the last revision for web page:
    <meta name = "revised" content = " Mahesh , 15/06/2011" />

    Following example refresh page every 10 seconds:
    <meta http-equiv = "refresh" content = "10" />
</head>
<body>
  <p> You Can Not See Meta Tag ... </p>
</body>
</html>

Out Put:



You Can Not See Meta Tag ...

In the above example has been added to <meta> tag inside of between <head> and </head> tag.





Content