|
|
|
|||||
| You are here: | Home » KidSpace » Learning HTML | |||||
|
|
Links Hyperlinks, or simply links, are all those underlined words or images that you see in web pages that will take you from one web page to another web page when you click on them. And, making links in HTML is really very simple once you get the hang of it. So let's just jump right in and make a link to the Internet Public Library. To start, you need a pair of anchor tags, <a and </a>, which tell the browser that "Hey, here is a the begining and ending of a link." Between the anchor tags you want to put the text that will be your link. In this example, I am have used the words "Internet Public Library": <a>Internet Public Library </a> But wait, that's not all. The web browser doesn't know what web page you want to link to. So, in order to tell the web browser what page you want to link to, you need to use a hypertext reference attribute, href, as well as a URL for the value. The URL, which stands for Uniformed Resource Locator, is nothing more than the web address that is displayed in the location bar of the web browser. For example, if you look up there right now, the web address for this page here is http://www.ipl.org/youth/kidsweb/tags9.html. I know, it sounds a bit confusing, but looking at the example might help:
Still confused? Well, here is the HTML for making a link to the Internet Public Library:
This resource originally created by Deborah Dunk. Updated on 28 Nov 2006
|
|||||
What is the IPL?
The Internet Public Library is a public library for the world wide web.
The Internet Public Library is hosted by The iSchool at Drexel, College of Information Science and Technology,
© 1995-2008 The Regents of the University of Michigan. All rights reserved.
© 2009, Drexel University, All Rights Reserved |
||||||