HTML · Link and navigation attributes

integrity

A Subresource Integrity hash that blocks the resource if its bytes change.

Syntax
integrity="sha384-…"

Example

Try it

More in this group

as crossorigin download fetchpriority href hreflang imagesizes imagesrcset

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course