Skip to main content
All CollectionsAdvanced GuidesWebsite management
How to exclude a region of a page from being tested
How to exclude a region of a page from being tested
Daniel Towers avatar
Written by Daniel Towers
Updated this week

Sometimes part of your pages will contain code that you do not want to test. For example, you might include user-generated content on parts of your page that you don’t want to spell check.

You can optionally exclude regions of a page from some tests with the data-silktide attribute:

<div data-silktide="ignore"> ... </div>

This works for any tag, not just <div>. So you can ignore links, images, and so on. All tags inside an ignored tag are also ignored.

Did this answer your question?