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 | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLBaseElement Constructor() : HTMLBaseElement
Creates an instance of the HTMLBaseElement.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ | ||
HTMLBaseElement() : HTMLBaseElementCreates an instance of the HTMLBaseElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
href
: String
Contains a valid URL potentially surrounded by spaces.
|
Show Details | 1.0+ | 5.0+ | 1.0+ | 4.0+ | 2.0+ | 1.0+ |
|
|||||||
|
target
: String
Specifies which browsing context is to be used as the default when hyperlinks and forms in the Document cause navigation.
|
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