Try-It-Yourself Examples
Document descriptionUse the meta element to describe the document.
Document keywords
Use the meta element to define the keywords of a document.
Redirect a user
How to redirect a user to a new web address.
The HTML meta Element
Metadata is information about data.The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.
Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
The <meta> tag always goes inside the head element.
The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.
Keywords for Search Engines
Some search engines will use the name and content attributes of the meta element to index your pages.The following meta element defines a description of a page:
| <meta name="description" content="Free Web tutorials on HTML, CSS, XML" /> |
| <meta name="keywords" content="HTML, CSS, XML" /> |
No comments:
Post a Comment