Day 1
<标签 属性= "属性值" 属性= "属性值" ></标签>
h1-h6
p
©
®
>
<
b strong
i em
u ins
del s
sup
sub
tr td
cellspacing cellpadding align="center/left/right"
valign="top/middle/bottom"
rowsapan
colspan
Day2
form
inpute
label
inpute的type属性值:text password radio checkbox button reset submit
inpute标签的其它属性:value name check disable size maxlength select option textarea cols rows
form中的属性:name methid="get/post" action target= "_self/_blank"
div span 层叠样式表 选择器属性
选择器:标签选择器 ID选择器 class选择器 通配符选择器 群组选择器 包含关系选择器 伪类选择器
Day3
选择器的优先级
css的三种样式(内联;内部;外部)
link rel="stylesheet" href="路径"
@import url("路径")
color font-weight font-size font-style font-family line-height line-variant
text-align vertical-align text-decoration letter-spacing word-spacing text-indent text-transform(Capitalize;uppercase;lowercase;none) text-shadow
border:solid double dashed dotted none transparent
float: left right none
clear:both left right none
border margin padding centent
列表设置:
list-style-type:circle disc sqare none
list-style-image: url(图片路径)
list-style-position: outside inside
背景图片:
background-color
background-image: url(路径)
background-position:
background-repeat:
jpg png gif
background-attachment: scroll fixed