SITEMAP
[
初めてのホームページ講座
] [
HTML4.01 Reference
] [
S
] [
SPAN要素
]
HTML4.01 Reference
概要
・
変更点
・
注意点
・
データ形式
・
その他
要素一覧
・
属性一覧
・
機能別一覧
・
イベント一覧
A
B
C
D
E
F
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
others
Elements
Attributes
S
S
SAMP
SCRIPT
SELECT
SMALL
SPAN
STRIKE
STRONG
STYLE
SUB
SUP
Scheme
Scope
Scrolling
Selected
Shape
Size
Span
Src
Standby
Start
Style
Summary
要素:
SPAN
開始タグ:
必要
終了タグ:
必要
必要属性:
なし
HTML:
2.0
|
3.2
|
4.0
ブラウザ:
IE3
|
IE4
|
IE5
|
NN3
|
NN4
説明:
当要素は、文書に構造的な意味を補強するために用います。
インライン要素
として用いるもので、
ブロックレベル要素
については、
DIV
要素を用います。 表示上は何の変化もありません。
スタイルシート
や 言語情報に関する
Lang
属性、書字方向に関する
Dir
属性と 併用します。
属性:
Align
非推奨
[GO to Attr]
2.0
|
3.2
|
4.0
IE3
|
IE4
|
IE5
|
NN3
|
NN4
値:left | center | right | justify
[CI]
表示可能領域に対する水平方向での配置を指定します。 当属性は、
非推奨
となっています。
left : 各行を左詰め
center : 各行をセンタリング
right : 各行を右詰め
justify : 各行を均等割付
%STYLEs%
[GO to Attr]
2.0
|
3.2
|
4.0
IE3
|
IE4
|
IE5
|
NN3
|
NN4
HTMLの見栄え向上のための
スタイルシート
のクラス名やID名を参照します。また、アクセシビリティ向上のための要素情報なども含みます。
%LANGs%
[GO to Attr]
2.0
|
3.2
|
4.0
IE3
|
IE4
|
IE5
|
NN3
|
NN4
国際化に対応するための言語情報や書字方向などを指定します。
%EVENTs%
[GO to Attr]
2.0
|
3.2
|
4.0
IE3
|
IE4
|
IE5
|
NN3
|
NN4
各種イベントを指定できます。
サンプル:
<SPAN Class="test-css"> この部分は当要素外と異なるインラインになります。 </SPAN>
[
Go To Top
]
Last modified Nov,2000
Copyright(C)1998 Miyazaki , All Rights Reserved.