HTML - tags - <base>

#11 of 147
base
Prev b

 <html>
 <head>
     <base target="_blank" href="http://zuga.net/articles/html-tags/">
 </head>
 <body>
     <a href="index.html" />
 </body>
 </html>
 

The above link will open /articles/html-tags/index.html in a new window.

The base element sets the url and target against which relative links are resolved.

1 of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath