search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
20 views
asked Expert 15k points 15 23 28

1 Answer

0 votes
Description

This element establishes a base URL for the website. This allows you to direct every link in the page to a specific site.

<base> is useful in forcing all page links to be opened in a new window by setting the target attribute to _blank. This element is inserted within the <head> element.

<base href='' target=''/>

Example

<html>
<head>
<base href="http://www.proanswers.org/" target="_blank">
</head>
<body>
     <p>
          <a href="index.htm">Click here</a>.
     </p>
</body>
</html>
answered Expert 11.4k points 14 22 27

Related questions

0 votes
1 answer 29 views
29 views
asked rock Expert 15k points 15 23 28
0 votes
1 answer 26 views
26 views
asked sunny Expert 11.4k points 14 22 27
0 votes
1 answer 15 views
15 views
asked rock Expert 15k points 15 23 28
0 votes
1 answer 9 views
9 views
asked rock Expert 15k points 15 23 28
0 votes
1 answer 12 views
12 views
asked rock Expert 15k points 15 23 28
...