![]() |
||||
|
|
|
|||
| |
|
Images can also serve as anchors for links and can make your pages look more appealing by creating an array of buttons for the visitor to click on. The principles for creating an image link are similar to those for a text link using <A HREF="myaddress">, but in this case followed by the <IMG SRC="myimage"> rather than a string or text and completed with the final </A> anchor tag. Again, in this exercise, you'll ve making links to both the pages you've designed, so again make sure you've kept a copy in the same folder that you will save this file into. For the following links to work, you'll need to have saved those files as hyper02a.htm and hyper03a.htm. To make the page more aesthetically pleasing, we've also used the ALIGN= element to place each of the arrows on either side of the page. Exercise<HTML> <BODY BGCOLOR=BLACK> <HR COLOR=RED><P> <CENTER> <P> <BLOCKQUOTE> <UL> With these and other developments, the Internet is opening up to more
and more people each year.<P> <A HREF="hyper02a.htm"><IMG ALIGN=LEFT SRC="images/back.gif"></A> </FONT> To see how your first Web page should look, click here. When you've finished, click on the Back button at the top of your browser to return to this page. TroubleshootingI click on a link and nothing happens: Again, check that you've
included all elements of the hyperlink as well as those for the image
source and put the address in speech marks.
|
|||||||||
| © Jason Whittaker 2000-04 |
|
||||||||||