How to Make a Link

If you have ever wanted to learn computer programming, this is the place to start. Actually, you should really go to the website w3schools.com – but since you are here, let’s give you what you came for! The most basic function of HTML and the heart of the internet is the link. Creating a link is easy and can be used to connect a word or image to another page on the web. Here is the code:

< a href= “url” > Link Text </a>

That’s it! Pretty easy right? Well let’s break it down.

The HTML <a> tag tells us we have a link or hyperlink.

A hyperlink (or link) is a word, group of words, or image that you can click on to go to a new destination on the web.

The link’s destination is indicated by the href attribute.

The </a> tag tells us the link is stopping.

Now suppose you want to link to another site, but you don’t necessarily want your user running off and leaving your site. The best way to do this is to open your link in a new window or tab. This is also very easy. Use the same code we used before to make your link. Then right after your closing quotation marks add target=”_blank” and then your closing bracket. It should look something like this –

<a href=”url” target=”_blank”>Link Text</a>

Easy enough! You know have an amazing tool at your fingertips. The link is the heartbeat of the internet and it is one of the most crucial parts of search engine optimization. Putting your link on a website with similar or related content tells search engines to include you in results when these types of keywords are searched. The basic idea is that you have  as many high quality links, or backlinks as they are referred to in the SEO world,  pointing back to the different pages of your site. This is believed to be one of the major ranking factors for Google.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s