Home » ★HTMLタグリファレンス

★HTMLタグリファレンス

<HR> …… 横罫線を引く
Internet Explorer4Internet Explorer5Internet Explorer5-macInternet Explorer5.5Internet Explorer6Internet Explorer7Internet Explorer8Internet Explorer9
Netscape4Netscape6Netscape7Netscape8
Opera6Opera7Opera8Opera9Opera10
Firefox1Firefox2Firefox3Firefox4
Google Chrome1Google Chrome2Google Chrome3Google Chrome4Google Chrome5Google Chrome6
広告



このページでは、HTML4のhr要素を解説しています。
hr要素の最新情報は、以下を参照してください。

<HR>はHorizontal Ruleの略で水平の罫線を表します。
width属性で幅(横の長さ)を、size属性で太さ(縦の高さ)を指定します。
また、デフォルトでは影の付いた立体的な罫線となりますが、noshade属性により平面的な単色の罫線にすることができます。

■使用例

HTMLソース

<hr>
<hr width=”90%”>
<hr width=”300″>
<hr size=”20″>
<hr width=”20″ size=”20″>
<hr size=”1″ color=”#000000″>
<hr size=”10″ color=”#0000ff” noshade>
<hr width=”300″ color=”#ff0000″
align=”right”>

↓↓↓

ブラウザ上の表示









■HTML5情報

<hr> …… テーマや話題の区切りを表す
広告



Lorem Ipsum is simply dummy text

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.