Set Link target in HTML and CSS
Description
The following code shows how to set Link target.
Example
<!-- w w w.j a va2 s . co m-->
<!DOCTYPE HTML>
<html>
<body>
<a href="http://java2s.com" target="_blank">Last Page</a>
</body>
</html>
The code above generates the following result.
HTML CSS Tutorial Anchor
Add border to anchor hover effect in HTML a...
Add link to another file in the same folder...
Add title attribute to anchor in HTML and C...
Create a basic link to an external web site...
Create a basic link to another page within ...
Create a link to a specific part of the pag...
Create a link to send an email in HTML and ...
Create a link with white space in HTML and ...
Create a mail to link in HTML and CSS
Create absolute link starting with http:// ...
Create an Image Link with anchor element an...
Link to the same page with anchor in HTML a...
Set font weight and color for active anchor...
Set font weight and color for anchor hover ...
Set id for anchor element in HTML and CSS
Add border to anchor hover effect in HTML a...
Add link to another file in the same folder...
Add title attribute to anchor in HTML and C...
Create a basic link to an external web site...
Create a basic link to another page within ...
Create a link to a specific part of the pag...
Create a link to send an email in HTML and ...
Create a link with white space in HTML and ...
Create a mail to link in HTML and CSS
Create absolute link starting with http:// ...
Create an Image Link with anchor element an...
Link to the same page with anchor in HTML a...
Set Link target in HTML and CSS
Set font size and color for visited anchor ...Set font weight and color for active anchor...
Set font weight and color for anchor hover ...
Set id for anchor element in HTML and CSS