PDA

View Full Version : What is Base Tag?



smartkathy
09-19-2012, 09:09 AM
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.

For Example:

<html>
<head>
<base href="http://www.quackit.com/javascript/" target="_blank"/>
</head>
<body>
<p>Learn about <a href="javascript_arrays.cfm">JavaScript Arrays</a></p>
</body>
</html>

jamsen
09-19-2012, 09:57 PM
Defines the base location for links on a page.

kevin1220
09-20-2012, 12:40 AM
The base tag specifies the base URL or target for all relative URLs in a document. It is indicated as <base> in HTML codes.

biber
09-20-2012, 01:46 AM
Its a stated that too much option for using HTML to submit a link and for a good tags.

clara_butler
09-20-2012, 02:03 AM
Yes, nicely described. Actually the base tag tells the browser what the base URL for elements should be. If you are using full-path URLs with no <base> tag, then the browser assumes that the base URL is the current domain name.

stevenchristian
09-20-2012, 03:03 AM
Specifies the default target for all hyperlinks and forms in the page. The <base> tag goes inside the <head> element. The <base> tag does not support any event attributes and any standard attributes.

borgninestallon
09-20-2012, 03:25 AM
What is the use of base URL in SEO. I have not used any such thing while i optimize for my client websites. Is it necessary to implement ?

synchronous
09-20-2012, 05:57 AM
The base tag specifies a default URL and a default target for all links on a page:
<head>
<base href=”http://www.abc.com/images/” />
<base target=”_blank” />
</head>

amittrch
09-20-2012, 07:02 AM
Hi,
Sorry i do't know

steverandey
09-20-2012, 07:04 AM
The <base> tag specifies the base URL/target for all relative URLs in a document.

The <base> tag goes inside the <head> element.
The <base> tag is supported in all major browsers.

khan85
09-20-2012, 08:58 AM
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.

For Example:

<html>
<head>
<base href="http://www.quackit.com/javascript/" target="_blank"/>
</head>
<body>
<p>Learn about <a href="javascript_arrays.cfm">JavaScript Arrays</a></p>
</body>
</html>

Nice information with example.Thanks for share this wonderful information.As a beginner it will be guide to me to know these things .Thank you

prgetxhtml
10-12-2012, 04:01 AM
The base tag specifies a default URL and a default target for all links on a page. It allows other URLs in the document to use relative addresses that are relative to the base URL.

adamscot
10-12-2012, 08:13 AM
Hi smartkathy,

what is the benifits of base tag. is there any effect on ranking. can you explain in detail...?

smartkathy
10-17-2012, 05:11 AM
Hi Adamscot as I have already mentioned that, the HTML base tag is used to specify a base URL, for relative links. Yeah of course it has effect on ranking as by this tag we can know the dead pages (404 errors) of our website.

Thank You

50stateautoloan
10-17-2012, 06:36 AM
Keyword density is the percentage of times a keyword or phrase appears on a web page compared to the total number of words on the page...:)

FarmerWastson
10-17-2012, 07:41 AM
Ensure that the base tag contains the complete url to the current folder level or to the full URL of the page it is on. Basically, the base tag treats relative urls as absolute url by including its href value to any relative url.

adamscot
10-17-2012, 08:53 AM
Hi Adamscot as I have already mentioned that, the HTML base tag is used to specify a base URL, for relative links. Yeah of course it has effect on ranking as by this tag we can know the dead pages (404 errors) of our website.

Thank You

thanks smartkathy!!! you just cleared my all doubt....