Friday, 3 June 2011

HTML base Tag


The <base> tag specifies a default address or a default target for all links on a page.
The <base> tag goes inside the head element.

Example

<head>
<base href="http://learnhtmltagstutorial.blogspot.com/images/" />
<base target="_blank" />
</head>

<body>
<img src="stickman.gif" />
<a href="http://learnhtmltagstutorial.blogspot.com/">HTML</a>
</body>

No comments:

Post a Comment