HTML · Metadata and script attributes

blocking

Allows scripts, styles and images to block rendering explicitly when they must run first.

Syntax
blocking="render"

Example

Try it

More in this group

async charset content defer http-equiv nomodule property

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