HTML DOM Meta-Objekt
- Vorherige Seite <menuitem>
- Nächste Seite <meter>
Meta object
The Meta object represents the HTML <meta> element.
Access Meta object
You can access the <meta> element using getElementsByTagName():
var x = document.getElementsByTagName("META")[0];
Create Meta object
You can create a <meta> element using the document.createElement() method:
var x = document.createElement("META");
Meta object attributes
Eigenschaften | 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 |
Nicht unterstützt in HTML5. Erklärung des Interpretationsmodus der content-Attributwerte. |
Standardattribute und Ereignisse
Das Meta-Objekt unterstützt sowohl Standards als auchEigenschaftenundEreignisse.
Verwandte Seiten
HTML-Referenzhandbuch:HTML <meta>-Tag
- Vorherige Seite <menuitem>
- Nächste Seite <meter>