In this tutorial, we will introduce you to <base> tag of HTML5. Base
tag allows to author to specify defaults URL for resolving relative URL's of all
document.
OR
We can define URL in base tag if there is different link has same URL in a
document .
Declaration syntax of Base in HTML5.
| <base href="value" target="value"> |
The declaration of base is case_ insensitive.
BaseTag.html
<!Doctype HTML>
|
Note: See the browser compatible page for successfully rendering the program.
There is no difference in base tag.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.