style
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
嘗試一下
備註:
此屬性不得用於傳達語義資訊。即使所有樣式都被移除,頁面也應該保持語義正確。通常不應該使用它來隱藏不相關的資訊;這應該使用 hidden
屬性來完成。
規範
Specification |
---|
HTML # the-style-attribute |
CSS Style Attributes # style-attribute |
瀏覽器相容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
style |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.