align属性

 
  
ホーム > HTML Note > div要素 > align属性
H3-x1 ie3- N2-

align属性 align="(left|center|right|justify)" (非推奨) 内容の水平表示位置

H3-x1 ie3- N2- 

left 左揃え (初期値)

Hello! Hello! Hello! Hello!

center 中央揃え

Hello! Hello! Hello! Hello!

right 右揃え

Hello! Hello! Hello! Hello!

justify 両端揃え (複数行テキスト)

Tobacco is the second major cause of death in the world. It is currently responsible for the death of one in ten adults worldwide (about 5 million deaths each year). If current smoking patterns continue, it will cause some 10 million deaths each year by 2020. Half the people that smoke today -that is about 650 million people- will eventually be killed by tobacco.
 
関連要素: div
トップページ HTML Note ページトップ
 2006/07/25発行 2008/01/01更新