Home  »  HTML   »   base

The base tag defines the starting location. All the related links on the page will use the specified URL as a starting point while navigating to a different URL.

href

The document base URL from where all the related urls will be refered

  • Valid URL
target

specifies browsing context for the target link.

  • _self: will open links in the current window/tab.
  • _blank: will open links in the new windows/tabs.

base example

Edit Example