单项选择题X 纠错
A.#box{width:100px;height:50px;}
B.#box{width:100px;height:50px; position:absolute;}
C.#box{width:100px;height:50px; position:static;}
D.#box{width:100px;height:50px; position:relative;}
你可能喜欢
单项选择题
A.body:color=black
B.{body;color:black}
C.body{color:black}
D.{body:color=black(body)}
单项选择题
A.<Style Type=”text/css”> P {color:red} </Style>
B.<Style Type=”text/css”> #firstp {color:red} </Style>
C.<Style Type=”text/css”> .firstp {color:red} </Style>
D.<Style Type=”text/css”> P.firstp {color:red} </Style>
单项选择题
A.a:link{color:red;}
B.a:hover{color:red;}
C.a:visited{color:red;}
D.a:active{color:red;}
单项选择题
A.h1 {background-color:#FFFFFF}
B.h1 {background-color:#FFFFFF;}
C.h1.all {background-color:#FFFFFF}
D.#h1 {background-color:#FFFFFF}
多项选择题
A.在〈img〉标签中通过设置height和width属性值可设定图片高、宽度
B.height=60表示设置图片的高度为60像素
C.width=50%表示图片的宽度为显示器全屏宽度的50%
D.当只设置了height值而没设置width值时,图像宽度保留
问答题