<base> HTML Tag
In this article I will discuss <base> tag of HTML
The HTML base
tag is used to specify a base URI, or URL, for relative links. For example, you can set the base URL once at the top of your page, then all subsequent relative links will use that URL as a starting point.
Example
<html>
<head>
<title></title>
</head>
<body>
<base href="" target="" >
</head>
<body>
<p>
Learn about <a href="Html_tag.aspx">Many Language's Article </a>
</p>
</body>
</html>
|
In href I give the path that is dotnetheaven.com
Output

When I click this link It will open the dotnetheaven.com site.
Ask Your Question
Got a programming related question? You may want to post your question here