Basic Html

This for many people is the most used bits of HTML code.  Granted that now most blogging platforms offer great html hyperlink creators, like the button below…

hyperlink icon

It is still good to know because of the code that you will definitely work with in designing and formatting your blog.
Heres what it will look like…

Copy (CTRL +C) and Paste (CTRL + V
<a href=”http://www.domain.com”>www.yourdomain.com</a>

where you want your link.  Then, put your domain url (address) where their url is (http://www.domain.com) and then replace whatever you want to call the link with the words in black (www.yourdomain.com) and it will become www.yourdomain.com

You can write anything where it says www.yourdomain.com such as click here or read more

And if you leave out the http:// in the “a href” you’ll be inadvertently telling the browser when the link gets clicked to go to a page on the root directory of whichever website you’re adding the html hyperlink to.

To make a clicked link pop open in a new browser window you add the following code: target=”_blank”

It would look like this…

<a href=”http://www.domain.com” target=”_blank”>www.yourdomain.com</a>

Now you know how to do the most used html on the internet, the hyperlink!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • NewsVine
  • StumbleUpon
  • Technorati
  • TwitThis

No related posts.