Full width home advertisement

Welcome Home

Post Page Advertisement [Top]

HTML Metadata

Metadata are additional vital/important information about a web document or web page in a variety of approaches. 


1. The META elements can be used to take account of name/value pairs describing properties of the HTML document, for instance author, expiry date, a list of keywords, document author etc.

2. The metadata <meta> tag is an empty element and as a result does not have a closing tag but it carries information inside its attributes.

3. You can add as much meta tags as possible in your web page based on what information you want to keep but in common, meta tags do not affect physical appearance of the document.

How to Add Meta Tags to Your Web Page

To add meta tags, simply place <meta> tags inside the header of the document which is represented by <head> and </head> tags. For example:

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>

Meta tags have following attributes

Specifies the property's value.
Name for the property can be anything. Examples contain, keywords, description, author, revised, generator etc.
Used for http response message headers. For example, http-equiv can be used to refresh the page or to set a cookie. Values include content-type, expires, refresh and set-cookie.
Sets a scheme to interpret the property's value (as declared in the content attribute).

No comments:

Post a Comment

Bottom Ad [Post Page]