Meta Tag
Advertisements
What is Meta Tag
Meta tag provides metadata about Html page or web-page. In other words it gives some information about our Html page. Metadata is not displayed on web-page but when you search any keyword on search engine it will display.
Why use meta tag
It is used for specify page description, keyword, author of page, last modify, index page by search engine or not.
Note: <meta> tag always live inside <head> tag
Note: Metadata always passed as name/value pairs.
Define keywords for search engines
<meta name="keywords" content="SEO is important for every websites">
Define a description of your web page
<meta name="description" content="Free Web tutorials on HTML and CSS">
Define the author of a page
<meta name="author" content="Hege Refsnes">
Refresh document every 30 seconds
<meta http-equiv="refresh" content="30">
Meta tag for stop Search engine crawlers to indexing a page
Stop Search engine crawlers
<meta name="robots" content="noindex">
Advertisements