Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2005, 06:21 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default alt

<tr>
<td><img src="images/icon7.gif" alt="Information"></td>
</tr>

whats the alt for?

Picco

www.crmpicco.co.uk
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
 
Old February 7th, 2005, 06:40 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Picco,

A search of the w3c site for "alt attribute" returns a link to this page, which covers it pretty well...
http://www.w3.org/QA/Tips/altAttribute

HTH,

Chris

 
Old February 7th, 2005, 06:45 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Alternate text. Text to be displayed when the image cannot be displayed. It's not meant for a tooltip in addition to the image even if some browsers persist in using it that way. That's what 'title' is for.

Alt is required for images but can also be used with a few other elements.

http://www.w3.org/TR/html401/struct/....html#adef-alt

Good places to start when looking something up in the spec:
http://www.w3.org/TR/html401/index/elements.html
http://www.w3.org/TR/html401/index/attributes.html
:)

(o<
//\ =^..^=
 
Old February 7th, 2005, 06:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sorry, Chris. The page hadn't updated. Oh well. The more the merrier! :D

(o<
//\ =^..^=
 
Old February 7th, 2005, 06:55 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

No problem Meow - done exactly the same thing many times myself ;)

 
Old February 7th, 2005, 06:57 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

danke schon

www.crmpicco.co.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Image as an alt tag Adam H-W HTML Code Clinic 3 July 27th, 2006 03:23 PM
DISABLING CTRL-ALT-DELETE harsh_hot Javascript How-To 19 March 23rd, 2006 06:41 AM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
How to block Alt+Ctrl+Del sagarkoirala VB How-To 0 August 8th, 2003 12:00 PM
ALT tags Adam H-W Flash (all versions) 1 August 7th, 2003 06:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.