Making Hyperlinks Open In A New Window

By admin | May 27, 2008

Web DesignI was doing some research on topics that visitors were searching for on my blog and at www.MakeAWebsiteSpot.com and found that quite a few people are looking for a way to get hyperlinks to open in a new window.

This is actually a very simple snippet of HTML code. A hyper link allows you to create a link from a webpage to another webpage in your website or to a completely different website.

Basic Hyperlink

The code to use is:

<a href=”http://www.websitespot.com”>Domain Name Registration</a>

The link would appear as: Domain Name Registration

Creating Hyperlinks To Open In A New Window

If you create a link but would like to open a new browser window once it’s clicked you can simply add a little more code to accomplish this. I’ve highlighted the additional code below.

<a target=”_blank” href=”http://www.websitespot.com”>Domain Name Registration</a>

The link would appear as Domain Name Registration but would open a new window when clicked.

That’s it, if you’re using a WYSIWYG editor such as FrontPage or Dreamweaver you probably won’t need this know this code because you can simply click a button that tells the hyperlink to open in a new window but it certainly doesn’t hurt to know.

Best regards,
David Lalumendre
www.WebsiteSpot.com

Topics: HTML Tips |

Leave a Comment

Name:

E-Mail :

Website :

Comments :

Cheap domains website builder

Search