HTML Attributes

HTML http-equiv attribute

Selects a limited set of browser processing directives in meta. It is not an arbitrary HTTP response header mechanism; some policies require actual response headers. Applicable elements include: <meta>. Check each element’s value rules.

Formal Syntax & Structure

html syntaxhtml
http-equiv="content-security-policy"

Parameters & Attributes

NameTypeDescription
http-equivpragma keywordSelects a limited set of browser processing directives in meta. It is not an arbitrary HTTP response header mechanism; some policies require actual response headers.

Working Example

Example Snippethtml
<meta http-equiv="content-security-policy" content="default-src 'self'">
HTML Reference