HTML tag rule
The HTML tag rule matches specific HTML tags with 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
orheight
attribute.
Supported options
- HTML tag – one or more HTML tags to match, for example
img
ormeta
orp
. Specify a tag without surrounding angular brackets (soimg
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.