| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|How to change alt tags site-wide|
Using Dreamweaver find and replace
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?
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.
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]
|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