Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alt in Netscape

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I am used to just designing for IE, what is the equiv. of an alt attribute for an image tag in netscape?

[conehead]
 
no - I found it (actually searched the archives - imagine that!) what I need is "title"

[conehead]
 
The syntax is the same. See

Code:
<img src="img1.jpg" alt="Stuff about my image" />

The difference is in how each browser impliments the alt. In IE it shows up like a "tooltip" over the image when you hover over it. BUT in any Netscape-esque browser it will only show up if images are turned off, or if the image doesn't acutally exist on the server or if there is an error. It also will work if someone is surfing your page with software that reads the page to them. Your alt tag will be read as a description in lieu of the user actually seeing the image.

Hope that helps.
 
these are html attributes not browser specifics. "alt" is "alt", "title" is "title"

maybe you are being confused by the fact that IE (incorrectly) shows alt attributes as a pop-up titles



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top