HTML入门常用标签之标题标签

诚信白癜风医院 http://www.yunweituan.com/m/

标题标签

h1~h6

自动换行,自动加粗,数值越小字越大。

示例:

!DOCTYPEhtml

html

head

metacharset="utf-8"

title/title

/head

body

h1标题/h1

h2标题/h2

h3标题/h3

h4标题/h4

h5标题/h5

h6标题/h6

/body

/html

常用属性:

排版:align

align的属性有:centerrightleft

默认值为left

示例:

!DOCTYPEhtml

html

head

metacharset="utf-8"

title/title

/head

body

h1align="center"标题/h1

h2标题/h2

h3标题/h3

h4标题/h4

h5标题/h5

h6标题/h6

/body

/html




转载请注明:http://www.aierlanlan.com/rzgz/6329.html