HTML DOM Meta Object
- Previous Page <menuitem>
- Next Page <meter>
Meta Object
The Meta object represents the HTML <meta> element.
Access Meta Object
You can use getElementsByTagName() to access the <meta> element:
var x = document.getElementsByTagName("META")[0];
Create Meta Object
You can use the document.createElement() method to create a <meta> element:
var x = document.createElement("META");
Meta Object Properties
Properties | Description |
---|---|
content | Set or return the value of the content attribute of the meta element. |
httpEquiv | Set or return the HTTP header of the content attribute. |
name | Set or return the name of the information in the content attribute. |
scheme |
Not supported in HTML5. Set or return the interpretation method of the content attribute value. |
Standard Attributes and Events
The Meta Object Supports StandardsPropertiesAndEvents.
Related Pages
HTML Reference Manual:HTML <meta> Tag
- Previous Page <menuitem>
- Next Page <meter>