HTML DOM Base Object

« Previous Chapter Next Reference »

Base Object

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.

Base Object Properties

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

Standard Properties, Methods, and Events

The Base object also supports the standard properties, methods, and events.


« Previous Chapter Next Reference »

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!