4 1.背景属性 1.1基本属性 a background-color ■ background- color属性用于设置元素的背景颜色。它的默认值取值 为none,允许下面的任何内容显示出来。 background- color属性和 color属性一样支持多种颜色格式。 pf background-color yellow,) body background-color #ccC] fun( background-color #000 #test( background-color rgb(0,0, 0), 河南中医学院/阮晓龙713938213680/http://web.51xueweb.cn河南中医学院 / 阮晓龙 / 13938213680 / http://web.51xueweb.cn 1.背景属性 background-color background-color属性用于设置元素的背景颜色。它的默认值取值 为none,允许下面的任何内容显示出来。 background-color属性和color属性一样支持多种颜色格式。 4 1.1基本属性