HTMLHRElement
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.
HTMLHRElement
インターフェイスは、(継承によって利用できる通常の HTMLElement
インターフェイスの他に) <hr>
要素を操作するための特別なプロパティを提供します。
プロパティ
親である HTMLElement
から継承したプロパティもあります。
HTMLHRElement.align
非推奨;-
文字列で、この区切り線の周囲のコンテキストに対する配置を示す列挙型の属性です。
HTMLHRElement.color
非推奨;-
文字列で、この区切り線の色の名前を表します。
HTMLHRElement.noshade
非推奨;-
論理値で、この区切り線に陰影をつけないことを設定します。
HTMLHRElement.size
非推奨;-
文字列で、この区切り線の高さを表します。
HTMLHRElement.width
非推奨;-
文字列で、この区切り線のページ上での幅を表します。
メソッド
独自のメソッドはありません。親である HTMLElement
から継承したメソッドがあります。
仕様書
Specification |
---|
HTML # htmlhrelement |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLHRElement | ||||||||||||
align | ||||||||||||
color | ||||||||||||
noShade | ||||||||||||
size | ||||||||||||
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 要素:
<hr>