A link needs an anchor tag: <a>...</a> |
9. Links down the street to around the world. Back in 1945, an engineer predicted that someday we would have super computers talking to each other. Today, this vision is a reality through hypertext links (or what others call hyperlinks or just plain links). Links are the power behind the World Wide Web. Through links, millions of pages, filled with information and knowledge, are only a click away. Every Web site can become a virtual librarya place to learn and grow! And its all so very simple to accomplish. Uniform Resource Locator
http:// (hypertext transfer protocol) is a code or what is technically called a protocol that helps one computer talk to another computer. The Internet also has another protocol called FTP (file transfer protocol). www or world wide web lets the server (the computer) know the file is located on the World Wide Web. myschool.com is a domain name or where the Web site is hosted. homework.html is the file or Web page you are seeking. Hypertext Link There are two things you need to create a link:
To create a link in HTML, you need the anchor tag: <a> </a> Inside the tag, you need the attribute: HREF (hypertext reference). An example of a link
looks like this: The code looks
like this: Let's take a closer look at the code:
Notice that the anchor tag must surround the hotspot and that the attribute HREF must describe where the browser should look for the Web site (the URL). It's that simple! Now let's look at putting some images on a web page.
|