back

Base

Tag: <base>

The base tag define the base url for all of the pages links.

For example, if the base was set to www.example.com/res and a link of the page was set to href="lorem.html"; then the browser would look for www.example.com/res/lorem.html

It is self-enclosed and MUST be placed in the pages head tags.

Example