Base Path for Link Tag


Base Path for Links:
It is not required to give a complete URL for every link. You can get rid of it if you will use
<base> tag in your header. This tag is used to give a base path for all the links. So your
browser will concatenate given relative path to this base path and will make a complete URL.
For example we have used following base tag in all the pages at domain.com:
<head>
</head>
So now if you will use
<a href=”/test/index.htm”>
then it will be considered as <a href=”http://www.domain.com//test/index.htm”&gt;

Page Refresh and Redirect Using HTML meta Tag


Document Refreshing:
You can specify a duration after which your web page will keep refreshing. If you want your
page keep refreshing after every 10 seconds then use the following
syntax.
<head>
<meta http-equiv=”refresh” content=”10″ />
</head>
Page Redirection:
You can specify a page redirection using Meta Tag. Following is an example of redirecting
current page to another page. You can specify a duration after which page will b
e redirected.
<head>
<meta http-equiv=”refresh” content=”10; url=http://www.tutorialspoint.com” />
</head>