HTML5 Tag: BASE

Defination

The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information. There must be no more than one base element per document. A base element must have either an href attribute, a target attribute, or both.

Example
<head>
  <title>Your Website Title</title>
  <base href="http://www.example.com/">
</head>

Copyright @ 2024 DevelopNew. All Rights Reserved