|
| |
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
Alt tag/text - 4/7/2007 13:40:06
If I'm wanting to put text with an image for better accessibility, is it 'alt text' or an 'alt tag'? Also, does it actually help in regards to search engines? I see conflicting info on that. Also, is the info put into the image in, say, Photoshop or is it put into the html?
|
|
|
|
womble
Posts: 5594 Joined: 3/14/2005 From: Living on the edge Status: offline
|
RE: Alt tag/text - 4/7/2007 15:14:19
It's often incorrectly called an Alt tag, but it's actually an alt attribute. The alt attribute goes in the HTML, so your image's HTML would look something like, <img src="myimage.jpg" height="100" width="100" alt="My image" />. Search engines do use alt text to a certain extent, but not as much as they used to due to over-use of them and people stuffing keywords in them. The alt text should be meaningful, so for example if your image was of a vase of flowers, your alt text would be something like alt="vase of flowers", or if it's text as an image, it should be the text in the image, for example, alt="Welcome to our website". If an image is there for purely decorative purposes though, the alt attribute should be empty, e.g. alt=""
_____________________________
~~ "A cruel god ain't no god at all" ~~
|
|
|
|
DaveX
Posts: 215 Joined: 5/4/2004 Status: offline
|
RE: Alt tag/text - 4/7/2007 15:52:34
So, what if I have a site with 1000s of pictures in a database? Each page is populated with the db so how would I put the info in?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|