Basic HTML – Links

Posted in HTML | By LGR | On January 27th, 2009

One of the great things about publishing on the Internet is the ability to link to other resources on the Internet. A basic hyperlink in the body of a page is created using the anchor tag and looks like this:

<a href="http://www.lgr.ca/">LGR Internet Solutions</a>

The href (Hypertext Reference) attribute is the resource on the Internet that you are linking to. The word(s) between the opening anchor tag (<a href="http://www.lgr.ca/">) and the closing anchor tag (</a>) are the words that will be highlighted as the link. In this case the link would look like this:

LGR Internet Solutions

That is the most basic link that you can create. If you are using WordPress there is a great tutorial on the WordPress website showing you how to create a link. It walks you through the basics of creating links with WordPress in the visual and HTML editor.

Similar Posts:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • email
  • FriendFeed
  • Reddit
  • RSS
  • Twitter

Leave a Reply

COMMENT


My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
  • Great debate, ideas, criticism and colorful commentary is always appreciated and approved!
«
»