Specifies an explicit URL to use for all relative URLs within the document.
The base element allows defining a base URI for the document. It is useful if you want to insert many images, objects, styleSheets, scripts, etc. relative to a path other than the current document location. Must be placed in the head section.
If you want to see the HTML tags by categories, please visit this page.
This element cannot have a closing tag.
Example HTML code 1:
This example illustrates the use of the base element:
Did you find this example helpful?
User Contributed Comments