Skip to main content
HTML code rule (policies)
Ben Chamness avatar
Written by Ben Chamness
Updated over a week ago

The HTML code rule allows you to search the entire HTML document we have captured for your web pages. The Text rule and HTML tag rules are similar, but the HTML code may be simpler to implement depending on what you are doing.

Example uses

  • Find all references to a website, including links on the page, page text, images, or CSS / JavaScript files referenced from the website

  • Find all uses of a word on your site, from actual text to HTML element ids

Supported options

The Match HTML code field allows you to enter the string you would like to search for. As this is searching the full HTML of your page, you would likely want to use the "Contains" or "Regex" search methods. There are also comparisons for length, which may be helpful to identify excessively large or small pages.

Did this answer your question?