Xpode.com        Click here to Print this article.

Base Tag in Html

We can declare a common base tag for images in head section.

   <base href="/images"></base>

and in body tag. We can write

            <a href="http://www.xpode.com"> 
<img src="goodmorning.gif" height="100px" width="200px" alt="Good Morning" /></a>

Now image goodmorning.gif will come from path http://xpode.com/images


Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com

Click here to go on website