Basic HTML for HyperLinks

| HTML to Use | Result with Explanation |
| HyperLink Source
Specification with Text |
| <a href="http://www.ebay.com">Link Text</a> |
= Link Text
Example Link to eBay's Home page. Note: use space between <a
and href= * Be sure to use closing tags i.e. </a> |
| <a href="http://www.ebay.com"><font color=darkred><b>Link Text</b><.font></a> |
= Link Text
Same example as above but specifies a font color and bold for the link text. |
| HyperLink Source
Specification with Image |
<a href="http://www.ebay.com">
<img src="http://pics.ebay.com/aw/pics/mask.gif"></a> |
=
Example Link to eBay's Home Page using image for link. |
<a href="http://www.ebay.com">
<img src="http://pics.ebay.com/aw/pics/mask.gif" border=0> </a> |
=
Same Link as Above with No Border.
Note: border=0
after .../mask.gif" border=0> |
<a href="http://www.ebay.com">
<img src="http://pics.ebay.com/aw/pics/mask.gif" border=0 alt="Click for eBay's Home Page"> </a> |
=
Same Link as above but adds pop up text to the linked image with the alt="..." statement |
| HyperLink with Thumbnail Image to Full Scale Image |
<a href=
"http://pics.ebay.com/aw/pics/navbar/ebay_logo_home.gif">
<img width=62 height=27 SRC="http://gmanzer.home.sprynet.com/ebayLogo.gif" border=0 alt="Click for Larger Image"></a>
|
=
The small eBay Logo is linked to a larger version of the logo. |
|
HTML Help Links:
| Annabella's HTML,
| HyperLinks,
| Link Basics,
| HTML 4 eBayers,
| Tips & Tricks.
|