Html-style-tag
提供:Dev Guides
HTML-<style>タグ
関数
HTML <style>タグは、HTMLドキュメントのヘッド内でスタイルシートを宣言するために使用されます。
HTMLとXHTMLの違い
NONE
例
<head>
<style type="text/css">
h1 { color:#F1F1F1 }
</style>
</head>
<style>タグの詳細については、link:/html/html_style_sheet [HTML Styles]の章を確認してください。
属性
Attribute | Value | Description |
---|---|---|
type | text/css | Specifies the style sheet language as a content-type (MIME type). |
media | screen tty tv projection handheld print braille aural all | Specifies the device the document will be displayed on. |
標準属性
Sr.No | Attribute & Description |
---|---|
1 |
dir テキストの方向を指定します |
2 |
id ドキュメント全体の識別子 |
3 |
lang 言語コードを設定します。 |
4 |
xml:space 言語コードを設定します。 |