Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Link to another website

To link to another website, it is just putting the website URL into the href=”" attribute. For example:

<a href="http://www.google.com">This is a link to Google</a>

This is a link to Google

You might be thinking that this is so simple, why would I make a page for it? Well because if you notice, when you click on the link above, it opens on the same page. Then you will lose your visitors. Therefore, we would want to open it on a new tab. To do that, give a target=”_blank” on the <a> tag. For example:

<a href="http://www.google.com" target="_blank">This opens in a new page</a>

This opens in a new page


Leave a comment  

name*

email*

website

Submit comment