HTMLPreElement
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.
HTMLPreElement
インターフェイスは、(継承によって利用できる HTMLElement
インターフェイスのものに加えて)整形済みテキストのブロック (<pre>
) を操作するための固有のプロパティやメソッドを公開します。
インスタンスプロパティ
親である HTMLElement
から継承したプロパティがあります。
HTMLPreElement.width
非推奨;
インスタンスメソッド
固有のメソッドはありません。親である HTMLElement
から継承したメソッドがあります。
仕様書
Specification |
---|
HTML # htmlpreelement |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLPreElement | ||||||||||||
width |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
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.
関連情報
- このインターフェイスを実装している HTML 要素:
<pre>