要设置以访问过的连接颜色为红色,下列选项正确的是()。
第1题:
A.H1, H2 {color:red}
B.H1 B{color:red}
C.H1#color_red{color:red}
DA:Active {color:red}
第2题:
以下选项中不能正确把c1定义成结构体变量的是
A.typedef struct {int red: int green: int blue; } COLOR; COLOR c1;
B.struct color c1 {int red int green: int blue; };
C.struct color {int red , int green : int blue : )cl;
D.struct {int red; int green; int blue } c1 ;
第3题:
Aolor:=‘green‘;
Bwriteln(green);
Cwriteln(color);
Da:=color=red;
第4题:
以下选项中能正确把c1定义成结构体变量的是( )。
A.typedef struct { int red; int red; int green; int blue; }COLOR; COLOR c1;
B.struct color c1 { int red int red; int green int blue; };
C.stmctcolor { int red, int green; int blue; }c1;
D.struct { int red; int green; int blue; }c1;
第5题:
以下选项中不能正确把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;
第6题:
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 :是能把鼠标点上去的时候,瞬间出的样式,在很多网站上都有这种样式的
第7题:
以下选项中不能正确把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;
第8题:
A.h1{color:red。font-size:25px。}
B.img{color:red;font-size:25px;}
C.h1{font-color:red;font-size:25px;}
D.h1{color:red;font-size:25px;}
第9题:
下列选项中不能正确定义结构体的是_______。
A.typedef struct
B.struct color cl {int red; {int red; int green; int green; int blue; int blue; }COLOR; }; COLOR cl;
C.struct color
D.struct {int red; {int red; int green; int green; int blue; int blue; }cl; }cl;
第10题:
下列哪个CSS语法是正确的?()