HTMLMetaElement
The interface for <meta>. Extends HTMLElement → Element.
Reflected properties
All setters are guarded and throw NoModificationAllowedError on a read-only document.
| Property | Attribute | Type | Notes |
|---|---|---|---|
name |
name |
string | Reflects the content attribute verbatim. |
content |
content |
string | Reflects the content attribute verbatim. |
httpEquiv |
http-equiv |
string | Reflects the content attribute verbatim. |
charset |
charset |
string | Reflects the content attribute verbatim. |
See also
- Element —
getAttribute/setAttribute, content,classList, traversal, insertion - HTMLElement — the global reflected properties every HTML element inherits
- JavaScript DOM API — the interface hierarchy and
instanceof