The HTML <meta> Element
element is also meta data. It can be used to define the character set, and other information about the HTML document. HTML lets you specify metadata - additional important information about a document in a variety of ways. The META elements can be used to include name/value pairs describing properties of the HTML document, such as author, expiry date, a list of keywords, document author etc. The The HTML
tag is used to provide such additional information. This tag is an empty element and so does not have a closing tag but it carries information within its attributes.
You can include one or more meta tags in your document
based on what information you want to keep in your document but in general, meta tags are not showes on the webpage. Add meta tags between <head> and </head> metatags Attribute Value Description
character_set Specifies the character encoding for the HTML document
text Gives the value associated with the http-equiv or name attribute
content-type default-style refresh Provides an HTTP header for the information/value of the content attribute
application-name author description generator keywords Specifies a name for the metadata
format/URI Not supported in HTML5. Example: <meta name="Description" content="Double web design,Zdubair, web design, art, gallery, html, javascript, css, geography" /> <meta name="Keywords" content="Double web design,art, gallery ,geography, html,javascript" /> <meta name="robots" content="index, follow" /> <meta name="copyright" content="zdubair" /> <meta name="language" content="EN" /> <meta name="author" content="Allan Swanson" /> <meta name="distribution" content="global" /> <meta name="rating" content="general" />
The HTML <style> element is used to define internal CSS style sheets. The HTML <link> element is used to define external CSS style sheets.