💥 script
嵌入式脚本
场景用例
<!-- HTML 代码 -->
属性
属性(Attribute) | 说明(Description) | 值(Value) |
---|---|---|
src | - | - |
type | - | - |
nomodule | Prevents execution in user agents that support module scripts | Boolean attribute |
async | Execute script when available, without blocking while fetching | Boolean attribute |
defer | Defer script execution | Boolean attribute |
crossorigin | - | - |
integrity | - | - |
referrerpolicy | - | - |
blocking | - | - |
fetchpriority | - | - |
事件
事件(Event) | 说明(Description) | 值(Value) | 接口(Interface) |
---|---|---|---|
- | - | - | - |