|
|
SITE MAP
Become a member
Members Login
Downloads
Backbone Tutorials
HTML Tutor
CSS Tutor
JavaScript Tutor
Website Promoting
Beyond The Basics
Meta Tags Tutor
HTML 4.01 tags/reference
Dynamic Websites
Non-technical Tips
Password Protection
Image Maps
Banners
Advanced forms tutor
Advanced frames tutor
Advanced tables tutor
Need Help
Contact Info
FAQ
Web Resources
|
HTML tutor- Lesson 10 It's about time we learn how to create links. Links are created using the anchor tag: <a>. href is the main attribute related to the anchor tag just like src is the main attribute related to the image tag. Here's an example: <body> <a href="http://www.google.com/">Go To Google</a> </body> The value for the href attribute is the location where you want to go. What if you want to open the link in a new window? Then you use the target attribute with the _blank value.
<body>
<a href="http://www.google.com/" target="_blank">Go To Google</a>
</body>
We're not done with the target attribute yet. In the next lesson we'll explore the anchor tag along with its target attribute in more detail.
|
PGTUTOR is an award winning website. In the past 2 years, we've won over 20 legitimate awards. Go to our awards page to verify for yourself.
You're not taking a risk when buying our products. If for any reason you're unsatisfied with the quality of our product(s), we'll refund your money. Also, you get to keep the product you bought. |
||