Saturday, 22 December 2012

<base> TAG
This defines the source url or target for all similar url in a html document

it eases creating related links in same templates  you don't need to worry about the current context in every link.

It is the first element inside the <head> tag

other information in the <head> tag or the <body> uses the base tag

link link tag this has   href  for linking the source 


The <base> tag also supports the Global Attributes in HTML

The <base> tag does not support any event attributes.

Base tag is rarely used in normal html websites

It is often used in the cached versions of search engine results to keep the links working




No comments:

Post a Comment