| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|How to change alt tags site-wide|
Using Dreamweaver find and replace
| 9:46 pm on Apr 21, 2008 (gmt 0)|
I'd like to add a few extra words into all my image alt tags. I don't want to replace the tags, just include additional words.
Initially I presumed that as the pages are templated, I could just add new text to the tags via this, but seemingly not.
Can I do this using find and replace? If so, how?
| 10:12 pm on Apr 21, 2008 (gmt 0)|
Search Entire Current Site For:
Obviously it will only work for adding text at the beginning of the alt tags. Don't forget the space.
| 10:19 pm on Apr 21, 2008 (gmt 0)|
I am not sure that I am interpreting your requirements properly but here goes.
You can use find and replace to locate the tags but assuming that the words you want to replace are different on each alt tag you would still need to change them individually.
To do this choose Edit > Find and Replace then when the Find and Replace window opens select the "Find in Entire Local Site" site option along with the "Search Source Code" option.
Put alt= in the Find box and keep clicking "find next" to find all occurrences of alt=.
Edit: posted at same time as reply above.
[edited by: BeeDeeDubbleU at 10:20 pm (utc) on April 21, 2008]
| 9:46 pm on Apr 22, 2008 (gmt 0)|
|Replace With: |
That worked a treat. All alt texts added to with just one click! Thanks.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved