Meta tags in the HTML web page Head element
Previous: HTML HEAD element
HTML META tags
One of the primary usage of meta elements is to provide information for the web page where they are include to the search engines when they visit this web page. Meta elements are also used by some Internet directories. The meta tags usually have two attributes - name and content. The most important html meta elements:
KEYWORD attribute provides information about the important words and phrases in the HTML page. These keywords are considered by most search engines.
Example:
<meta name="keywords" content="HTML, page, meta tag, head">
DESCRIPTION attribute - describe the content of the web page. This information is important for Internet directories and also used by some search engines.
Example:
<meta name="description" content="Web design article. Use of meta tags in the html page head element.">
ROBOTS attribute provides information for search engines how to index the web page
Example:
<meta name="robots" content="ALL">
REVISIT-AFTER attribute tells the search engine how often to visit the web page
Example:
<meta name="revisit-after" content="7 days">
CONTENT-TYPE attribute tells the web browsers how to read the content of the web page, especially what language coding table is used
Example:
<meta http-equiv="content-type" content="text/html;charset=UTF-8">