Meta Tag

Meta tag provides all information related to web page like author name, keyword for search engine, description about what things page contain. By using meta tag () you can also refresh your web page within regular interval of time.

Features of meta tag

  • Meta tag is data (information) about data.
  • The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.
  • The Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
  • The meta data can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.
  • HTML5 introduced a method to let web designers take control over the view port (the user’s visible area of a web page), through the tag (See “Setting The View port” example below).

EXAMPLE

<html>
<head>
<meta name=”keywords” content=”html tutorial”/>
<meta name=”description” content=”html is easy to learn”/>
<meta content=”index, follow ” name=”Robots”/>
<meta content=”codingknack.com ” name=”auther”/>

</head>
<body>
<p>My first website</p>
</body>
</html>

This picture clears your concept about meta tag.

meta-tag-in-html

How do you create a meta tag?

  1. Open a text editing program, such as Notepad.
  2. Log in to the Web hosting account provided to you by your hosting provider.
  3. In the text editor, open the Web page you want to add the meta tags to.
  4. In the portion of the file, insert the meta content. …
  5. Save the file.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu