Written by Matthew S. Reinsmith
This Macro allows you to choose a file containing HTML tags, specify a tag name, and it will return a csv file displaying the “Matched Tag” structure of that tag. This allows you to quickly pick out a problem in a complex HTML, JS, or CSS file.
Download the macro file umhtmlmatchtags.mex and save it to your hard drive. Open this macro file or import the macro into your existing macro file by clicking File, Import, Import Macros.
Simply run the macro and it will prompt you to browse for a file. Once you have select the file it will prompt you for a tag name. Enter the tag without any markup; i.e. for the <div></div> tag set, simply enter “div”. A results file will be generated in the same directory as the file you chose. This file will have the same name as your chosen file, except it will have “.csv” appended to it; i.e. the results for the file named index.html would be “index.html.csv”.
The results file will contain a tabbed tree structure of the tag levels (especially helpful for nesting, but helpful for any tag matching) and includes a summary of the Opened, Closed, and Unmatched counts at the end of the file.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |