<base> element

The <base> element allows you to set a prefix that will automatically be attached to the URL indicated by any link on that page, allowing you to avoid repetitive code if all links on a page point to the same server.

Note
The <base> element is an empty element(i.e it doesnt require an ending tag)
The <base> element requires an href attribute set to the absolute URL of an internet directory. (e.g : href="http://www.domain.com/files/images/")
The element must be placed inside the <head>..</head> element.
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +