You are here: Re: Possible to make ALT tag dynamic?? « HTML « IT news, forums, messages
Re: Possible to make ALT tag dynamic??

Posted by dorayme on 01/18/70 11:58

In article
<NikitaTheSpider-3AA41B.15241816092006@news-rdr-01-ce0-1.southeas
t.rr.com>,
Nikita the Spider <NikitaTheSpider@gmail.com> wrote:

> Regardless of whether you're using one of my examples above or something
> else, I don't see why the alt text is much different from the rest of
> the HTML. But maybe I'm missing something.

Perhaps this is wrong, but I got the impression the OP may have
been using the (English?) names of the img files (or part of
them) as a quick way of decking out his alt text.

This might explain why he was bringing in the business of these
files.

I once did something like this (I am not saying these days it is
a good thing to do):

Using GREP Search and Replace, I decked out a website in one go
with alt attributes by telling the text editor to stick in
alt="\1" where \1 captured the file name. And sometimes fancier
still by specifying only the bit of the file name before the
".jpg" or ".gif". And sometimes fancier still by adding words
that I thought seemed natural like "This is a picture of ..." Or
"This is a picture called ...". All this depended on the files
being descriptively named like "redApple". One could get quite
complicated if the naming was along certain principled lines,
even separating the "red" and "Apple" bits, and lower-casing the
"A" etc.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация