Html-multicol-tag
提供:Dev Guides
HTML-<multicol>タグ
関数
HTML <multicol>タグは、テキストの複数の列を作成するために使用され、列のサイズと数を制御できます。
<multicol>タグには、<div>タグと同様に、他のHTMLコンテンツを含めることができます。 <multicol>タグ内のコンテンツはすべて、従来のコンテンツと同じように表示されますが、Netscape 4は1つではなく複数の列にコンテンツを配置します。
このタグは、Netscape 3以降のバージョンでのみサポートされています。
HTMLとXHTMLの違い
NONE
例
次の例では、Netscape 4で3列のレイアウトを作成します。
属性
Attribute | Value | Description |
---|---|---|
cols | number | specifies the number of text columns for the text display. The browser attempts to flow elements evenly across the columns to make each column be about the same height. Unless the WIDTH attribute is present, column width is adjusted to fill the available width. |
gutter | number | specifies the distance between each column in pixels. |
width | number | specifies the width of each column in pixels. All columns are the same width. If this attribute is not present, its value is calculated from the gutter width and the number of columns. |
標準属性
Sr.No | Attribute & Description |
---|---|
1 |
class ドキュメント全体の識別子 |
2 |
dir テキストの方向を指定します |
3 |
id ドキュメント全体の識別子 |
4 |
style インラインcasecadubfスタイルシートを含めるのに役立ちます。 |
5 |
lang 言語コードを設定します。 |
6 |
xml:lang 言語コードを設定します。 |