Skip to main content
HTML tag rule (policies)
Daniel Towers avatar
Written by Daniel Towers
Updated yesterday

The HTML tag rule matches specific HTML tags with the properties you specify. This rule requires some basic understanding of HTML.

Example uses

  • Find deprecated HTML tags like <blink> or <marquee>.

  • Find excessively long meta descriptions.

  • Identify images with an explicit width or height attribute.

Supported options

  • HTML tag – one or more HTML tags to match, for example img or meta or p. Specify a tag without surrounding angular brackets (so img not <img>).

  • Attribute – optionally match specific attribute values. For example, to find links which open in a new tab, you could set a HTML tag of <a>, then add an attribute name of target equal to _blank.

  • Text content – optionally match text that appears inside the tag.

Did this answer your question?