2.2.2.23 HTMLMetaElement

The HTMLMetaElement interface represents the meta element.

The HTMLMetaElement interface has been extended with the following attributes:

  • url

  • charset

     //Introduced in Internet Explorer.
     interface HTMLMetaElement : HTMLElement {
                 attribute DOMString       url;
                 attribute DOMString       charset;
     };
    

You can use the meta element to include hidden information about the document and to insert document-related information used by some search engines.

The meta element can be used only within the head element.