Tuesday, December 25, 2012

base tag in HTML

<base> tag in HTML will serve base path(when set through href attribute <base href="http://www.w3schools.com/images/">  ) for all relative URL's in the page( and this can be overwritten through http:) , and also defines global target property(when set through <head>
    <base target="_blank">
target property and anyways this property can be over ridden through inline settings of attributes.

Make sure to specify http:// (not just www.) in the links or they will open relative to the extension

No comments: