YouTip LogoYouTip

Dom Obj Base

HTML DOM Base Object |

-- Learning is not just about technology, but also about dreams!

JavaScript Reference Manual

Overview

JavaScript Objects

Browser Objects

DOM Objects

HTML Objects

Deep Dive

  • Script
  • Scripting Language
  • Web Browser
  • Programming Language
  • Script
  • Web Service
  • Computer Science
  • Web Design and Development
  • Programming
  • Web Services

HTML DOM Object


Base Object

The Base object represents the HTML <base> element.

The <base> element specifies the base URL and/or the target for all relative URLs in a page.

For every occurrence of the <base> element in an HTML document, a Base object is created.


Base Object Properties

W3C: W3C Standard.

Property Description W3C
href Sets or returns the base URL for all links in the document. Yes
target Sets or returns the default target frame for all links in the document. Yes

Standard Properties and Events

The Base object also supports standard properties and events.

← Dom Obj TableDom Obj Area β†’