1、1. 在HTML中,下面()标签可以在页面上显示一个水平线。 A.
C.
2、s/joke11.gif">
D. 3. css中想要文本垂直水平居中应该()(选两项) A.text-align:center B.display:block C.line-height D.text-decoration 4. 下面哪两项不是块标签()。(选择两项) A. B. C.3、size:12;color:# red;} C.P{ font-size:12px;color:red;} D.P{ font-size:12px;color:#red;} 6. 阅读下面的JavaScript代码: < HTML > < BODY > < SCRIPT type="text/javascript" > function f(y) { var x=y*y; return x; } for(x=0;x< 5;x++) { y=f(x); document.writeln(y); } < /SCRIPT > < /BODY > < /HT
4、ML > 输出结果是()。 A.0 1 2 3 4 B.0 1 4 9 16 C.0 1 4 9 16 25 D.以上答案都不对 7.以下代码片段中,属于绝对定位的是( )。 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;}
5、 8. 以下选项可以定义不带下划线的超链接是( )。 A.a {text-decoration:no underline} B.a {underline:none} C.a {decoration:no underline} D.a {text-decoration:none} 9. 在HTML中使用()标签引入css内部样式表。 A.