<a href="valid web address">
<img src="graphic file name">
</a>
<img>
tag (loaded with the appropriate attributes, of course).<center>
<a href="http://www.ironspider.ca/">
<img src="irnspd97.jpg"></a>
</center>
border
attribute in your <img>
tag. The value for the border
attribute represents the link border width in pixels where the default is usually "2". To make the border disappear altogether, put a value of "0". To make the border bigger put any value bigger than 2 (or for a thin subtle border put a value of "1"). Examples:<center>
<a href="http://www.ironspider.ca/">
<img src="irnspd97.jpg" border="0"></a>
</center>
<center>
<a href="http://www.ironspider.ca/">
<img src="irnspd97.jpg" border="5"></a>
</center>
alt
attribute in the <img>
tag to pick up the slack on this task since setting the alternate text will also display a tool tip when the viewer hovers their mouse pointer over the graphic. However this is only reliable in Internet Explorer and older versions of Netscape. Moreover, the alt
attribute is really intended to address accessibility issues or those who have set their browsers to not display graphics.alt
attribute to convey this information, it's much more reliable to also insert the title
attribute in your <img>
tag. This will display a little pop-up advisory text (more commonly known as a 'tool tip') when a mouse pointer hovers over the link graphic regardless of the browser that is being used. To illustrate, the following source code will display 'Go to Iron Spider home page' as a tool tip when the viewer hovers their mouse pointer over the Iron Spider logo link:<center>
<a href="http://www.ironspider.ca/">
<img src="irnspd97.jpg" title="Go to Iron Spider home page">
</a>
</center>
alt
attribute and the title
attribute in the <img>
tag, the resulting tool tip displayed in Internet Explorer will be the value of the title
attribute.)
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
If you need a .COM web address, you can get one quick and easy at...
<~BACK | TOP | NEXT~> |