• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Replacing Tags

As a part of the migration from presentation-oriented HTML tags to content-descriptive HTML tags, the <b> (bold) and <i> (italic) tags have fallen out of favor. Both have been replaced with the content-descriptive tags <strong> and <em>. Most major browsers render the <strong> tag in bold and the <em> tag in italics. In other words, by upgrading from <b> to <strong> and <i> to <em>, you can achieve standards compliancy and enhance accessibility without changing the appearance of your documents in major browsers.

Because this change is a simple one-to-one change, and because none of the four tags involved have any attributes, you could easily find <b> and replace it with <strong>, find </b> and replace it with </strong>, and so forth. But Dreamweaver has an even easier way to replace tags: the Change Tag action in the Find and Replace dialog.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint