ayahsaba76.blogspot.com
So, you want to make a Web Page! Lesson 12 |
Let's learn about links.
It's really very simple. We'll make a link to Yahoo. Start with this...
<body>
Go to Yahoo!
</body>
Then add a pair of anchor tags.
<body> Go to <a>Yahoo!</a> </body>
Add the URL and you're done! URL
stands for Uniform Resource Locator. That's a big fancy phrase that the
computer people came up with. They tend to do that a lot. A URL is just
an address on the web. You specify it like so: href="url". And since Yahoo's URL is http://www.yahoo.com/ our link ends up like so...
<body>
Go to <a href="http://www.yahoo.com/">Yahoo!</a>
</body>
Let's do one more.
<body>
Go to CNN
</body>
<body> Go to <a href="http://www.cnn.com/">CNN</a> </body>