![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What are user agents *supposed* to do with the title attribute? |
#3
| |||
| |||
|
|
What are user agents *supposed* to do with the title attribute? Lynx (Version 2.8.6rel.5) doesn't. I don't know about other text browsers. Most graphical browsers wait about a second before displaying it, so you won't see it unless you hover over an item, though iCab at least has the kindness to put up a little icon if there's one under the pointer straight away. Gecko browsers put the text on one single long line. All of this renders title attribute text rather less useful than it could be, especially in contexts where the user doesn't know in advance that there might be useful title text there. I was thinking of using it to provide a commentary on some text, like: h1 title="The headline neatly summarises the story">Zuma wins ANC leadership election</h1 p title="The basic facts of the story are given in the first sentence" Jacob Zuma has defeated South Africa's President Thabo Mbeki to win the leadership of the country's ruling ANC. /p p title="The report then begins to expand on the facts" Mr Zuma won the votes of more than 60% of the delegates at the leadership conference to claim victory. /p But I don't think that it will work that well. Daniele |
#4
| |||
| |||
|
|
I was thinking of using it to provide a commentary on some text, like: h1 title="The headline neatly summarises the story">Zuma wins ANC leadership election</h1 |
#5
| ||||
| ||||
|
|
What are user agents *supposed* to do with the title attribute? |
|
Most graphical browsers wait about a second before displaying it, so you won't see it unless you hover over an item, |
|
All of this renders title attribute text rather less useful than it could be, especially in contexts where the user doesn't know in advance that there might be useful title text there. |
|
I was thinking of using it to provide a commentary on some text, |
#6
| |||
| |||
|
|
What are user agents *supposed* to do with the title attribute? |
#7
| |||
| |||
|
|
h1 title="The headline neatly summarises the story">Zuma wins ANC leadership election</h1 This is pointless. What's the use of this TITLE? |
|
And if the TITLE attribute has real information, it is better to put it into the normal text. |
|
For an application of the TITLE attribute, see http://www.unics.uni-hannover.de/nhtcapri/arabic.html6 |
#8
| |||
| |||
|
|
Andreas Prilop <aprilop2007 (AT) trashmail (DOT) net> wrote: It provides a commentary on text. In this case, it would be a commentary on the text for journalism students. And if the TITLE attribute has real information, it is better to put it into the normal text. I'm inclined to agree, but mainly because on the whole user agents don't display title attributes very usefully. You can already use <a> tag for which a TITLE argument work in most browsers. |
#9
| |||
| |||
|
|
D.M. Procida wrote: Andreas Prilop <aprilop2007 (AT) trashmail (DOT) net> wrote: It provides a commentary on text. In this case, it would be a commentary on the text for journalism students. And if the TITLE attribute has real information, it is better to put it into the normal text. I'm inclined to agree, but mainly because on the whole user agents don't display title attributes very usefully. You can already use <a> tag for which a TITLE argument work in most browsers. My idea is to write something like this a name="text1" title="This is comment for text1"><p>this is text1....</p></a> <a name="text2" title="This is comment for text2"><p>this is text2....</p></a |
#10
| |||
| |||
|
|
1. That would be meaningless for the user. Since there would be no visual cue, why would someone mouse over a paragraph to get a title tooltip? |
![]() |
| Thread Tools | |
| Display Modes | |
| |