How to add a link on a webpage

Posted by on Jul.14, 2011, under Basics

Adding a link in the same window.

<a href=”http://www.studyhtml.com”>Learn HTML Online</a>

This will create:

Learn HTML Online

Adding a link that opens up a new window

<a href=”http://www.studyhtml.com” target=”_blank”>Learn HTML Online</a>

This will create:

Learn HTML Online

Click on the links and see what happens!

Adding a link is a very easy task.  Adding links in your page is very is very important for navigation.  Using anchor text in your links lets the user know what the page is about they are going into.  This also plays an important factor when it comes to SEO.

No comments for this entry yet...

Leave a Reply

CommentLuv badge