The <base> tag specifies a default address or a default target for all links on a page. Relative links within a document (such as <a href="someplace.html"...
or <img src="someimage.jpg"...
) will become relative to the URI specified in the base
tag irrespective of what is present in the address bar.
The <base> tag goes inside the head element.
The <base> tag is supported in all major browsers.
Differences Between HTML and XHTML
In HTML the <base> tag has no end tag.
In XHTML the <base> tag must be properly closed.
No comments:
Post a Comment