Add link and open new windows after clicking in HTML and CSS

Description

The following code shows how to add link and open new windows after clicking.

Example


<!--   w ww  .j a v  a2 s . c om-->
<!DOCTYPE HTML>
<html>
<body>
<a href="http://java2s.com" target="_blank">Last Page</a>
</body>
</html>

Click to view the demo