blocking="render"
Limited availability
The blocking="render"
attribute for <link>
, <script>
, and <style>
elements blocks rendering until the external script or stylesheet has been loaded. For <link rel="expect">
, rendering is blocked until a specific element is in the DOM.
Learning resources on MDN
- Blocking, in <link>: The External Resource Link element
- Blocking, in <script>: The Script element
- Blocking, in <style>: The Style Information element
Browser support
- Chrome 105 Released on 2022-09-02
- Chrome Android 105 Released on 2022-09-02
- Edge 105 Released on 2022-09-01
- Firefox ❌ See bugzil.la/1751383 Vendor position : positive
- Firefox for Android ❌ See bugzil.la/1751383 Vendor position : positive
- Safari ❌ See webkit.org/b/267232 Vendor position
- Safari on iOS ❌ See webkit.org/b/267232 Vendor position
Surveys
- State of HTML 2024: features/all_features question
- State of HTML 2024: content/content_features question
- State of HTML 2023: reading_list/reading_list question
- State of HTML 2023: features/all_features question
- State of HTML 2023: content/content_features question
Specifications
- HTML (#blocking-attributes), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature