homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

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:

Replace With:
alt="added text[space]

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:
alt="added text[space]

That worked a treat. All alt texts added to with just one click! Thanks.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved