Library tutorials & articles
Beginning HTML
Links
All Internet users utilize hyperlinks to navigate sites. These have made the Internet popular with people with little experience of computers, as a simple point and click interface seems less foreign to people than the command line interfaces of old. In order to include links on your webpages, you'll need to make use of the a (or anchor) tag. The a tag works in conjunction with the href parameter, which tells the browser where the link is pointing to. The text that you surround the a tags with will act as the visible hyperlink. So to produce this sentence:
We'd have to use this code:
<a href="http://www.developerfusion.com">Check out this
site!</a>
Notice that I've used http:// in front of the address. This is necessary and the link won't work without it.
Internal Links
If you wish to link pages together on your site, then it is unnecessary to specify the full URL. In fact, it's slower to do this. A better way is to specify the page's address relative to the current page. For example, if we want a link from index.htm to a page called aboutme.htm which is in the same folder as index.htm then we could use this code:
<a href="aboutme.htm">All about me.</a>
This also means that you wouldn't have to change all of your link tags if you decided to host your pages somewhere else.
Related articles
Related podcasts
-
Top Web Design Mistakes
Pete LePage is Product Manager of Internet Explorer Developer Division and he doesn’t want your web site to stink. Sharing from his talk given at TechEd 2008, Pete highlights 10 common web design mistakes and tells you how you can bypass the same blunders. Pete also tells us how future features o...
Events coming up
-
Dec
8
Web Design World
Boston, United States
Join your colleagues and top experts in the Web field as Web Design World returns to Boston December 8-10, 2008 for three dynamic days of information, interaction, insight and inspiration.
Hi
Nice read, I m noob in web design therefor it is so much useful for me in my study.
thanks
Hi All,
I have Registered in ur site, becs i want a Free HTML conerter software. if it is not available in ur Company then give the address where i down load it. i want to use it personally.
Regards
PKN
Hi all,
Sorry I've been away for so long. But I may be back soon. Does anybody really want a sequel? If so what do you want in it. Anything in particular? Post here or mail me and I'll include it, if it's not too hideously complicated.
I'm glad that some people have found this of some use.
Thanks for presenting "the beef", with none of the fat (or fluf) ...
Just what I needed! Thank you very much!
Anyone just starting out coding HTML should read this. Clearly and logically presented. 100%.
DotZip
This is awesome, please do a sequel because I really want to learn HTML. I usually use Dreamweaver or something but I want to stop being lazy!
Please do a sequal
This thread is for discussions of Beginning HTML.