|
|
#1 (permalink) |
|
New Member
![]() Join Date: Sep 2007
Posts: 3
|
i have used alt in my web pages, but it only shows in IE and Netscape not in Firefox. I used Title then i can see in Firefox too . i don't have opera browser can any one help did opera accept this , title is best or alt is best little bit confusion can any help me and give me good solution for this
|
|
|
|
|
|
#2 (permalink) |
|
New Member
![]() Join Date: May 2006
Posts: 6
|
Of the two attributes, alt is the most important as it shows alternative text for images (e.g. when the image doesn't show up this text is shown). The 'title' is more for advisory information. I would say use 'title' but if it is an image make sure you definitely use 'alt'.
|
|
|
|
|
|
#3 (permalink) |
|
New Member
![]() Join Date: Aug 2007
Posts: 20
|
alt is required if you want to be compliant to W3C standards and for aceesiblity.
alt is only used for images. Internet Explorer will also resolve the alt attribute as a title when you place the cursor over the image. Firefox will not, however, so it advisable to use the title as well. You can use the title attribute with almost any element, for example: Code:
<a href="..." title="Click here to visit...">Link</a> 7.4.3 The title attribute 13.8 How to specify alternate text Last edited by alloydog; 09-23-2007 at 05:54 PM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|