W3Schools.com

HTML DOM Base Object


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.

Note: The Base object can also use the properties/methods of:


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 and Events

The Base object also supports the standard properties and events.



WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE