<base> HTML Tag

In this article I will discuss <base> tag of HTML
  • 2147

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.







    <base href="" target="" >




            Learn about <a href="Html_tag.aspx">Many Language's Article </a>





In href I give the path that is dotnetheaven.com



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


© 2020 DotNetHeaven. All rights reserved.