HTML blocking Attribute
The blocking attribute with the value render makes a script, style sheet or link render-blocking, so the page is not shown until it has loaded.
Description
The blocking attribute marks a resource as render-blocking: the browser does not render the page until the resource has loaded. Its only value is render. It can be used on <link> (stylesheets and preloads), <script> and <style> elements.
It is mainly used with scripts or fonts that must be available before the first paint to avoid a flash of incorrect content, and to make sure the elements needed for a cross-document view transition are ready. Use it sparingly, because every render-blocking resource delays the moment the user sees the page.
Syntax
<tagname blocking="render">
Values
- renderRendering of the document is blocked until this resource has been fetched and processed.
Applies To
Example
Browser Support
The following information will show you the current browser support for the HTML blocking attribute. Hover over a browser icon to see the version that first introduced support for this HTML attribute.
Desktop





Tablets & Mobile





