HTML
---
## 属性
New :HTML5 中的新属性。
| 属性 | 值 | Description |
| --- | --- | --- |
| [async](att-script-async.html)New | async | Specifies异步执行脚本(仅适用于外部脚本)。 |
| [charset](att-script-charset.html) | *charset* | Specifies在脚本中使用的字符编码(仅适用于外部脚本)。 |
| [defer](att-script-defer.html) | defer | Specifies当页面已完成解析后,执行脚本(仅适用于外部脚本)。 |
| [src](att-script-src.html) | *URL* | Specifies外部脚本的 URL。 |
| [type](att-script-type.html) | *MIME-type* | Specifies脚本的 MIME 类型。 |
| xml:space | preserve | HTML5 does not support。Specifies是否保留代码中的空白。 |
---
## Global Attributes
---
## 属性
New :HTML5 中的新属性。
| 属性 | 值 | Description |
| --- | --- | --- |
| [async](att-script-async.html)New | async | Specifies异步执行脚本(仅适用于外部脚本)。 |
| [charset](att-script-charset.html) | *charset* | Specifies在脚本中使用的字符编码(仅适用于外部脚本)。 |
| [defer](att-script-defer.html) | defer | Specifies当页面已完成解析后,执行脚本(仅适用于外部脚本)。 |
| [src](att-script-src.html) | *URL* | Specifies外部脚本的 URL。 |
| [type](att-script-type.html) | *MIME-type* | Specifies脚本的 MIME 类型。 |
| xml:space | preserve | HTML5 does not support。Specifies是否保留代码中的空白。 |
---
## Global Attributes