Well for my first tutorial on FeedtheDragon I’m going back to the Basics of HTML. Linking…
There’s several reason to use links. Creating links to your pictures, link to news stories on your website, there are many more reasons why you might want to use links, but that’s not the point of this post.
Take the following example:
1 2 | <a href="http://www.millerwebtechnologies.com" target="_blank" class="copyright_link"> Miller Web Technologies</a> |
The Href part defines where to send the web browser to; in this case it’s going to www.millerwebtechnologies.com. You can define this link however you wish, as long as the URL placed inside is valid. It can be a website, a photo, a blog, facebook/myspace or anything else you want to link to.
The next part within this link is the Target. this defines the action taken when the link is clicked on. There are several options available, they are as follows:
_blank opens the link in a new browser window.
_parent opens the link in the immediate frameset parent.
_self opens the link in the frame with focus
_top opens the link in the full window without frames.
The most commonly used are _blank and _top.
The next part is the Class, this is mainly used in CSS, and allows you to control font, color, text decorations among many other things. If you are not using CSS then you really don’t have a need for the Class part of the tag. If you’re using CSS, use the Class to define the CSS Classification of your link. Most Web designers use several on their sites, creating different specifics for copyright links, header links, sidebar links, so on and so fourth.
That about wraps it up for this tutorial, if you have any questions please feel free to contact me, and I will do my best to get back with you.
Tags: creating links, HTML, links
