---
title: "HTML Validation"
description: "Validate every server-rendered page with html-validate."
canonical_url: "https://nuxt.com/modules/hints/html-validate"
---
# HTML Validation

> Validate every server-rendered page with html-validate.

Nuxt Hints includes a built-in HTML validation feature powered by [`html-validate`](https://html-validate.org/). On every server-rendered response, the module intercepts the HTML output and runs it through `html-validate`.

![HTML validation panel in the Nuxt DevTools](https://nuxt.com/modules/hints/images/devtools-html-validate.png)

## Options

The `options` are an [`html-validate` configuration](https://html-validate.org/usage/index.html#configuration), merged with the defaults of Nuxt Hints. By default, the `html-validate:standard`, `html-validate:document` and `html-validate:browser` presets are enabled, with a few rules turned off because they conflict with Nuxt defaults.

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  hints: {
    features: {
      htmlValidate: {
        options: {
          rules: {
            'no-redundant-role': 'off',
          },
        },
      },
    },
  },
})
```


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
