The Base object represents an HTML base element.
The base element is used to specify a default address or a default target for all links on a page.
For each <base> tag in an HTML document, a Base object is created.
Note: The Base object can also use the properties/methods of:
W3C: W3C Standard.
| Property | Description | W3C |
|---|---|---|
| href | Sets or returns the value of the href attribute in a base element | Yes |
| target | Sets or returns the value of the target attribute in a base element | Yes |
The Base object also supports the standard properties and events.
Your message has been sent to W3Schools.