在HTML中,下面()是已被访问过呈红色文字的样式。
第1题:
A.a:link{color:red}
B.a:hover{color:red}
C.a:visited{color:red}
D.a:active{color:red}
答案:C
解析:a:link :是未被访问的样式,可以在里面加很多东西,比如说去掉下划线,换颜色等功能都能在这里实现;
a:visited :是已被点击后的样式,也可以在里面加很多元素,可以去下划线,改颜色,放大等功能;
a:hover :这个是鼠标悬停的样式,是把鼠标停在超链接的位置的时候可以设置变颜色;
a:active :是能把鼠标点上去的时候,瞬间出的样式,在很多网站上都有这种样式的
第2题:
以下选项中不能正确把c1定义成结构体变量的是
A.typedef struct { int red; int green;; int blue; }COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; };
C.struet color { int red; int green; int blue; }c1;
D.struct { int red; int green; int blue; }cl;
第3题:
下列哪个CSS语法是正确的?()
第4题:
要设置以访问过的连接颜色为红色,下列选项正确的是()。
第5题:
color属性用于定义文本的颜色,以下写法正确的是()
第6题:
序号伪类选择器语法格式正确的是()。
第7题:
下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。
第8题:
js的以下操作中可以给div添加样式的是()。
第9题:
在HTMl页面中,如果需要设置超链接的样式为:当鼠标悬浮在连接上时为黄色的样式时,在CSS表中应设置的样式代码为()
第10题:
a:link{color:red;}
a:active{color:red;}
a:visited{color:red;}
a:hover{color:red;}
第11题:
A:link{color:red}
A:active{color:red}:
A:visited{color:red}
A:visite(color:red)
第12题:
a:link{color:red;}
a:hover{color:red;}
a:visited{color:red;}
a:active{color:red;}
第13题:
以下选项中不能正确把cl定义成结构体变量的是
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; }
C.struct color { int red; int green; int blue; } cl;
D.struct { int red; int green; int blue; } cl;
第14题:
第15题:
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:< P class=“firstp”>这是一个段落< /P> 下面选项中,()正确定义了上面代码引用的样式规则。
第16题:
关于行内样式语法格式正确的是()。
第17题:
以下关于标签选择器语法格式正确的是()。
第18题:
设置鼠标移动到链接上时候文字变成红色如何设置?()
第19题:
以下选项中哪个是给p标签添加颜色的jQuery语法()。
第20题:
在HTML中,下面()是已被访问过呈红色文字的样式。
第21题:
public class Ball { public enum Color { RED, GREEN, BLUE }; public void foo() { // insert code here { System.out.println(c); } } } Which code inserted at line 14 causes the foo method to print RED, GREEN, and BLUE?()
第22题:
<Style Type=”text/css”> P {color:red} </Style>
<Style Type=”text/css”> #firstp {color:red} </Style>
<Style Type=”text/css”> .firstp {color:red} </Style>
<Style Type=”text/css”> P.firstp {color:red} </Style>
第23题:
$(p).css(color,red)
p.css(color,red)
p.style.color=red
p.style=red
第24题:
( 难度:中等)要将下面代码中超链接文本呈现为红色,不可以使用的样式表是()