Click here to get back home

Alt attribute I understand. Title/summary attributes - used for what?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Alt attribute I understand. Title/summary attributes - used for what? bissatch 06-08-2005
Get Chitika Premium
Posted by bissatch on June 8, 2005, 10:58 am
Please log in for more thread options


Hi,

I fully understand the purpose of an alt attribute within a <img> tag
but why would you use a title or summary attribute within, for example,
a <p> tag. I have read books recommending that I use them but why? Does
this enhance accessibility? Please provide reasons why one would want
to use these? Thanks

Burnsy



Posted by David Ross on June 8, 2005, 11:41 am
Please log in for more thread options


bissatch@yahoo.co.uk wrote:
>
> Hi,
>
> I fully understand the purpose of an alt attribute within a <img> tag
> but why would you use a title or summary attribute within, for example,
> a <p> tag. I have read books recommending that I use them but why? Does
> this enhance accessibility? Please provide reasons why one would want
> to use these? Thanks
>
> Burnsy

ALT is used to provide a brief text alternative to an image where a
browser does not display images.

TITLE (the attribute, not the <TITLE> element) provides a text
"tooltip" that you want everyone to see, even if images are indeed
displayed. This is usually visible only when your cursor is over
the element that has a TITLE attribute.

For an example where both are used, see my
<URL:http://www.rossde.com/Canada_trip/Vancouver_Montreal.html>.
Scroll down to any image, and put your cursor over the image. You
should see a "tooltip".

The first image on the right (a thumbnail of a photo of a train
car) has the ALT "our VIA Rail train at Vancouver station",
describing the image. It also has the TITLE "select this image for
photos of the 1st leg of our train trip across Canada", indicating
to users that this is a link. (On the main page of this section of
my Web site, I explain "As you browse these pages, you will see
some thumbnail photos. Each thumbnail is a link to a page of
full-size photos with captions. Just select a thumbnail to see the
photos.")

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.


Posted by laurence on June 9, 2005, 6:46 am
Please log in for more thread options



> bissatch@yahoo.co.uk wrote:
> David E. Ross
> <URL:http://www.rossde.com/>
>
> I use Mozilla as my Web browser because I want a browser that
> complies with Web standards. See <URL:http://www.mozilla.org/>.

If Mozilla complied with web standards, it would render my latest magnum
opus, which validates perfectly on W3C, but is turned into a dog's dinner by
your beloved Mozilla. When, oh when will the mozilla partisans wake up.

Narrow, introverted, spotty faced, and socially alienated enough to need to
seek self-esteem from trumpeting their 'moral' superiority because of
supposed (actually, imagined) compliance with standards, the gang at Mozilla
(& Firefox, and, of course Netscape) should bloody wake up too.

Laurence
laurenceh@iprimus.com.au



Posted by C A Upsdell on June 8, 2005, 5:53 pm
Please log in for more thread options


laurence wrote:
>
> If Mozilla complied with web standards, it would render my latest magnum
> opus, which validates perfectly on W3C, but is turned into a dog's dinner by
> your beloved Mozilla.

Since Mozilla generally complies with standards better than IE, the
chances are very good that, if Mozilla does not display your pages as
you expect, but IE does, then your pages have faulty code that depends
on an IE defect to work as you expect.

I wonder what IE7 will do with your pages. IE7 will be more compliant
with the standards than IE6 is, so if you have faulty code that happens
to work with IE6, there is no guarantee that your code will work as you
expect with IE7. You may find that your pages are a dog's dinner with
your beloved IE. You'll have to code to standards someday: why wait?



Posted by laurence on June 9, 2005, 9:48 am
Please log in for more thread options



> laurence wrote:
>>
>> If Mozilla complied with web standards, it would render my latest magnum
>> opus, which validates perfectly on W3C, but is turned into a dog's dinner
>> by your beloved Mozilla.
>
> Since Mozilla generally complies with standards better than IE, the
> chances are very good that, if Mozilla does not display your pages as you
> expect, but IE does, then your pages have faulty code that depends on an
> IE defect to work as you expect.
>
> I wonder what IE7 will do with your pages. IE7 will be more compliant
> with the standards than IE6 is, so if you have faulty code that happens to
> work with IE6, there is no guarantee that your code will work as you
> expect with IE7. You may find that your pages are a dog's dinner with
> your beloved IE. You'll have to code to standards someday: why wait?
>
>
If you read my post, you'd know my page validates. VALIDATES!!! (It will
proudly display the imprimatur of the W3C !!!) Coding to standards is indeed
a concern of mine. What on God's green earth made you think I don't care
about such things.




Similar ThreadsPosted
Do not understand validation info April 7, 2006, 2:33 am
Does Firefox not understand COLGROUP and COL? June 6, 2006, 2:05 pm
tings that I don't understand [was: special pop-up] October 10, 2007, 5:13 pm
trying to understand the BUTTON tag in EXPLORER and MOZILLA August 27, 2005, 5:12 pm
Using attributes on a
August 14, 2005, 11:33 am
frames attributes September 11, 2004, 5:30 pm
Defining my own new attributes? August 20, 2005, 11:45 am
acronym attributes July 21, 2007, 12:49 am
img tag width, height attributes necessary? November 4, 2004, 11:07 am
How can I remove tags which have no attributes? May 28, 2005, 6:31 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap