网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
如果定义一个可应用于所有标记符的通用类test,应使用(){color:red}样式。
参考答案
更多 “ 如果定义一个可应用于所有标记符的通用类test,应使用(){color:red}样式。 ” 相关考题
考题
● 以下CSS 选择符定义中, (61) 属于类选择符。A. P {color:red; font-size:12pt } B. p.blue{color:blue}C. #Red{color:red;} D. P EM { background: yellow }
考题
以下有关图像映射说法,错误的是:()。
A要在网页中使用图像映射应使用 MAP 标记符。B要定义图像映射应在 MAP 标记中使用 name 属性。CAREA 标记符需要有结束标记。D每个图像映射区域使用一个 AREA 标记符。
考题
以下样式规则正确的是()。
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;}
考题
● 以下CSS 选择符定义中, (61) 属于类选择符。(61)A. P {color:red; font-size:12pt }B. p.blue{color:blue}C. #Red{color:red;}D. P EM { background: yellow }
考题
( 18 )下列枚举类型的定义中,包含枚举值 3 的是A ) enum test {RED, YELLOW, BLUE, BLACK};B ) enum test {RED, YELLOW=4, BLUE, BLACK};C ) enum test {RED=-1, YELLOW,BLUE, BLACK};D ) enum test {RED, YELLOW=6, BLUE, BLACK};
考题
以下关于样式表项的定义中,错误的是:()。
A.H1, H2 {color:red}B.H1 B{color:red}C.H1#color_red{color:red}DA:Active {color:red}
考题
可以设置超链接被点击过后样式是红色字体的是()。
A.a:link{color:red}B.a:hover{color:red}C.a:visited{color:red}D.a:active{color:red}
考题
以下选项中不能正确把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;
考题
下列枚举类型的定义中,包含枚举值3的是A.enum test{RED,YELLOW,BLUE,BLACK};B.enum test{RED,YELLOW=4,BLUE,BLACK};C.enum test{RED=-1,YELLOW,BLUE,BLACK};D.erium test{RED,YELLOW=6,BLUE,BLACK};
考题
对于这样的一个枚举类型:enum Color:byte{Red,Green,Blue,Orange}string[] ss=Enum.GetNames(typeof(Color));byte[] bb=Enum.GetValues(typeof(Color));试写一段程序显示出枚举类型中定义的所有符号名称以及它们对应的数值。
考题
下列选项中不能正确定义结构体的是_______。A.typedef structB.struct color cl {int red; {int red; int green; int green; int blue; int blue; }COLOR; }; COLOR cl;C.struct colorD.struct {int red; {int red; int green; int green; int blue; int blue; }cl; }cl;
考题
以下CSS选择符定义中,______属于类选择符。
A.P{color:red; font-size:12pt}
B.p.blue{color:blue}
C.#Red{color:red;)
D.PEM {background: yellow}
考题
关于行内样式语法格式正确的是()。A、〈p style="color:red,font-size:14px;"〉行内样式〈/p〉B、〈p style="color=red;font-size:14px;"〉行内样式〈/p〉C、〈p style="color:red;font-size:14px;"〉行内样式〈/p〉D、以上都不正确
考题
color属性用于定义文本的颜色,以下写法正确的是()A、h2{color:red;}B、h2{color:"red";}C、h2{color:"#F60";}D、h2{color:#FF6600;}
考题
序号伪类选择器语法格式正确的是()。A、li:first-child{color:red;}B、li:last-child(1){color:red;}C、li:nth-child(odd){color:red;}D、li:nth-last-child(5){color:red;}
考题
下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。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>
考题
js的以下操作中可以给div添加样式的是()。A、div.style.color="red"B、div.style="red"C、div.color="red"D、div.style.color("red")
考题
在HTML中,下面()是已被访问过呈红色文字的样式。A、a:link{color:red;}B、a:hover{color:red;}C、a:visited{color:red;}D、a:active{color:red;}
考题
下列关于HTML中的CSS样式表的说法正确的是()。A、CSS样式表的基本选择器有:标记选择器、Id选择器和类选择器及后代选择器B、CSS样式表仅具有继承性C、对于定义样式div.p{color:red;}意思是div下面的应用了类p的标签的字体颜色为红色D、选择器在CSS样式表具有最高优先级
考题
单选题下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。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>
考题
单选题js的以下操作中可以给div添加样式的是()。A
div.style.color=redB
div.style=redC
div.color=redD
div.style.color(red)
热门标签
最新试卷