HTML:標記語言
CSS:樣式語言
JavaScript:指令碼語言
Web API:程式設計介面
所有 Web 技術
學習 Web 開發
發現我們的工具
更好地瞭解 MDN
此功能已相當成熟,可在多種裝置和瀏覽器版本上執行。自 2016 年 8 月 起,所有瀏覽器均已提供此功能。
HTMLOutputElement 介面的只讀 **type** 屬性返回字串 "output"。
HTMLOutputElement
type
"output"
字串 "output"。
const output = document.querySelector("output"); console.log(output.type); // "output"
載入中…
<output>