网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

以下选项中哪个是给p标签添加颜色的jQuery语法()。

  • A、$("p").css("color","red")
  • B、p.css("color","red")
  • C、p.style.color="red"
  • D、p.style="red"

参考答案

更多 “以下选项中哪个是给p标签添加颜色的jQuery语法()。A、$("p").css("color","red")B、p.css("color","red")C、p.style.color="red"D、p.style="red"” 相关考题
考题 ● 以下CSS 选择符定义中, (61) 属于类选择符。A. P {color:red; font-size:12pt } B. p.blue{color:blue}C. #Red{color:red;} D. P EM { background: yellow }

考题 ● 以下CSS 选择符定义中, (61) 属于类选择符。(61)A. P {color:red; font-size:12pt }B. p.blue{color:blue}C. #Red{color:red;}D. P EM { background: yellow }

考题 以下关于样式表项的定义中,错误的是:()。 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;

考题 以下选项中不能正确把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;

考题 以下选项中能正确把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;

考题 以下CSS选择符定义中,______属于类选择符。 A.P{color:red; font-size:12pt} B.p.blue{color:blue} C.#Red{color:red;) D.PEM {background: yellow}

考题 下列哪个CSS语法是正确的?()A、body.color=redB、{body.color=red}C、{body:color=red}D、body{color:red}

考题 jquery中获取css样式颜色值下列说法错误的是()。A、.css("color")B、.css("color","red")C、.addClass()D、.attrClass()

考题 在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示: P class=“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

考题 hr语法格式正确的是()。A、〈hrwidth="500"color="red"align="center"/〉B、〈hr〉〈/hr〉C、〈hrsize="1"color="red"width="400"/〉D、〈hralign="top"/〉

考题 要设置以访问过的连接颜色为红色,下列选项正确的是()。A、A:link{color:red}B、A:active{color:red}:C、A:visited{color:red}D、A:visite(color:red)

考题 关于行内样式语法格式正确的是()。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、{color:red;}B、h1{color:red;}C、h7{color:red;}D、p{color:red;}

考题 序号伪类选择器语法格式正确的是()。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;}

考题 设置鼠标移动到链接上时候文字变成红色如何设置?()A、a:link{color:red;}B、a:active{color:red;}C、a:visited{color:red;}D、a:hover{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;}

考题 单选题设置鼠标移动到链接上时候文字变成红色如何设置?()A a:link{color:red;}B a:active{color:red;}C a:visited{color:red;}D a:hover{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>

考题 单选题要设置以访问过的连接颜色为红色,下列选项正确的是()。A A:link{color:red}B A:active{color:red}:C A:visited{color:red}D A:visite(color:red)

考题 多选题jquery中获取css样式颜色值下列说法错误的是()。A.css(color)B.css(color,red)C.addClass()D.attrClass()

考题 单选题以下选项中哪个是给p标签添加颜色的jQuery语法()。A $(p).css(color,red)B p.css(color,red)C p.style.color=redD p.style=red

考题 单选题在HTML中,下面()是已被访问过呈红色文字的样式。A a:link{color:red;}B a:hover{color:red;}C a:visited{color:red;}D a:active{color:red;}