Webmaster

Tips
All Tips ]

The <BASE> tag

Do all of the tags in your page need to open in the same frame? Rather than giving the same TARGET attribute to all of your links, use the <BASE> tag once and for all.

Insert this tag in the header of your page:

<BASE TARGET="main_window">

All of the links in your page will then open in the frame that you have defined (here main_window).

You can also use this tag to define a default tree structure or title for all of your links. For example:

<BASE HREF="http://www.mysite.com/" TITLE="A page on my website">

next define your links as usual:

<A HREF="index.html">

With these two tags, this link will lead to http://www.mysite.com/index.html and display an information balloon "A page on my website" on mouse-over.

Discover all Webmaster tips.