MDN Web Docs

Instance properties

Inherits properties from its parent, HTMLElement.

HTMLBaseElement.href

A string that reflects the href HTML attribute, containing a base URL for relative URLs in the document.

HTMLBaseElement.target

A string that reflects the target HTML attribute, containing a default target browsing context or frame for elements that do not have a target reference specified.

Instance methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

Specification
HTML
# htmlbaseelement

Browser compatibility

See also

  • HTML element implementing this interface: <base>

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗