Platform Support
| Mozilla | Chrome | Safari | Opera | IE | Netscape | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLMetaElement Constructor() : HTMLMetaElement
Creates an instance of the HTMLMetaElement.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ | ||
HTMLMetaElement() : HTMLMetaElementCreates an instance of the HTMLMetaElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
name
: String
Specifies the name for the metadata.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ |
|
|||||||
|
httpEquiv
: String
Specifies a pragma directive used for the meta element.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ |
|
|||||||
|
content
: String
Specifies the content for the metadata.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG