From 21e4ac24f8ae3253aa753e3376d00b58f96fb431 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 1 May 2021 01:25:32 +0900 Subject: Web/HTML/Element/hr を更新 (#557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2021/03/27 時点の英語版に同期 --- files/ja/web/html/element/hr/index.html | 34 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'files') diff --git a/files/ja/web/html/element/hr/index.html b/files/ja/web/html/element/hr/index.html index 929cb187a9..eac8a8da04 100644 --- a/files/ja/web/html/element/hr/index.html +++ b/files/ja/web/html/element/hr/index.html @@ -1,10 +1,10 @@ --- -title: '
: 主題分割 (水平線) 要素' +title: '
: 主題区切り (水平線) 要素' slug: Web/HTML/Element/hr tags: + - Element - HTML - - HTML コンテンツグループ化 - - 'HTML:フローコンテンツ' + - HTML grouping content - Reference - ウェブ - 要素 @@ -16,15 +16,13 @@ translation_of: Web/HTML/Element/hr
{{EmbedInteractiveExample("pages/tabbed/hr.html", "tabbed-shorter")}}
- -

以前はこれは水平の区切り線として定義されていました。現在でもブラウザーでは水平線として表示されますが、この要素は表示論的な用語ではなく意味論的な用語で定義されましたので、水平線を引きたいのであれば、適切な CSS を使用して行うようにしてください。

- - + + @@ -36,11 +34,15 @@ translation_of: Web/HTML/Element/hr - + + + + + - + @@ -49,7 +51,7 @@ translation_of: Web/HTML/Element/hr
コンテンツカテゴリーフローコンテンツコンテンツカテゴリーフローコンテンツ
許可されている内容
許可されている親要素フローコンテンツを受け入れるすべての要素フローコンテンツを受け入れるすべての要素
暗黙の ARIA ロール{{ARIARole("separator")}}
許可されている ARIA ロール{{ARIARole("presentation")}}{{ARIARole("presentation")}} または {{ARIARole("none")}}
DOM インターフェイス
-

属性

+

属性

この要素にはグローバル属性があります。

@@ -66,7 +68,7 @@ translation_of: Web/HTML/Element/hr
区切り線の幅をピクセル数、あるいはパーセントで指定します。
-

+

HTML

@@ -86,11 +88,11 @@ translation_of: Web/HTML/Element/hr This is the second paragraph of text. </p> -

結果

+

結果

{{EmbedLiveSample("Example")}}

-

仕様書

+

仕様書

@@ -119,13 +121,11 @@ translation_of: Web/HTML/Element/hr
-

ブラウザーの互換性

- - +

ブラウザーの互換性

{{Compat("html.elements.hr")}}

-

関連情報

+

関連情報