# nonce attribute

A one-use token that a Content Security Policy can require on allowed inline script or style elements.

## What is **`nonce` attribute**?

**`nonce` attribute** — A one-use token that a Content Security Policy can require on allowed inline script or style elements.

Level: Freelancer · [More HTML terms at this level](https://www.ask-codey.com/glossary/subjects/html/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/nonce-attribute
