跳到主要内容

💥 script

嵌入式脚本

场景用例

<!-- HTML 代码 -->

属性

属性(Attribute)说明(Description)值(Value)
src--
type--
nomodulePrevents execution in user agents that support module scriptsBoolean attribute
asyncExecute script when available, without blocking while fetchingBoolean attribute
deferDefer script executionBoolean attribute
crossorigin--
integrity--
referrerpolicy--
blocking--
fetchpriority--

事件

事件(Event)说明(Description)值(Value)接口(Interface)
----

参考