1 Reply Latest reply on Mar 11, 2010 8:35 AM by Robert Shomler

    Locating matching tags


      I am trying to clean up an old web site using Dreamweaver CS4. I would like to make sure that I have matching tags in some places where we have problems in a page. Is it possible to somehow click on a tag and have Dreamweaver indicate the matching tag?  For example, I want to be able to hightlight a <div> tag and hope to have Dreamweaver show me the matching </div> tag.







        • 1. Re: Locating matching tags
          Robert Shomler Level 4

          In code view place cursor just at the close of the <div> tag, then Select Parent Tag (on coding toolbar or Edit > Select Parent Tag).  If there is a properly matching </div> it should highlight everything from the <div> to and including the </div>.  If there is not a matching </div> then it will highlight all encompassed by the next tag up.  For example if the <div> is within a <td> ... </td> it will highlight everything in that <td>. (Then you'll have to decide what to do about the missing </div>.)