( 难度:中等)以下关于CSS的语法中不正确的有()A.body:color=blackB.{body;color:black}C.body {color: black;}D.{body:color=black(body)}

题目
( 难度:中等)以下关于CSS的语法中不正确的有()
A.body:color=black
B.{body;color:black}
C.body {color: black;}
D.{body:color=black(body)}
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

YoucreateaWebpagethatcontainsthefollowingcode.Youneedtoensurethatwhentheuserclicksaniteminthelist,thetextcolorofthe"Welcome!"messagewillchange.Whichdeclarationshouldyouuse?()

A.<ulid="color"> <lionclick="changeColor(this.innerText);">Black</li><lionclick="changeColor(this.innerText);">Red</li></ul>

B.<ulid="color"> <lionclick="changeColor(this.style.color);">Black</li><lionclick="changeColor(this.style.color);">Red</li></ul>

C.<ulid="color"><li><aonfocus="changeColor(this.innerText);">Red</a></li><li><aonfocus="changeColor(this.innerText);">Black</a></li></ul>

D.<ulid="color"> <li><aonfocus="changeColor(this.innerText);">Red</a></li><li><aonfocus="changeColor(this.innerText);">Black</a></li></ul>


参考答案:A

第2题:

下列哪一项是CSS正确的语法构成()。

A.body:color=black

B.{body;color:black}

C.body{color:black;}

D.{body:color=black(body}


正确答案:C

第3题:

下列哪个选项的CSS语法是正确的?()

A、body:color=black

B、{body:color=black(body}

C、body{color:black}

D、{body;color:black}


正确答案:C

第4题:

下列选项CSS语法规则正确的是()。

  • A、body:color=black
  • B、{body;color:black}
  • C、body{color:black}
  • D、{body:color=black(body)}

正确答案:C

第5题:

The traffic lights were red when the driver reached them.To the surprise of his passenger,the ear did not slow down.Unexpectedly the passenger was thrown forward in the vehicle as the driver put on his brakes at the last moment.The car stopped just in time.
"Sorry,I didn't notice the light.I thought it was green until I saw that it was the top light which was shining."
This strange story is quite true.About ten men in every hundred are color blind in some way;women are luckier--only about one in two hundred suffers from color blindness.
In some cases,a man may not be able to see deep red.He may think that red,orange and yellow are all the same as green.
People often like one color more than others.Blue is the color of the sky and sea.Green makes us think of fields and trees.Red is the color of blood and makes some people think of danger.Black is the color of night.In the dark we cannot see what is around us so we are sometimes afraid of the unknown and do not like black as a color.

According to the passage,which of the following statements is true?

A.Black stands for unhappines
B.Black makes people think of nigh
C.Black makes people think of sorro
D.Black is the color of the mournin

答案:B
解析:
参见文章最后一个句子。

第6题:

不可以在<body></body>标记中使用的属性是?()

A.background

B.bgcolor

C.text

D.color


参考答案:D

第7题:

下列符合CSS语法的正确语句是( )。

A.body:color=black

B.{body;color:black}

C.body{color:black;}

D.{body:color=black}


正确答案:C

第8题:

下列()是定义样式表的正确格式。

A、{body:color=black(body}

B、body:color=black

C、body{color:black}

D、{body;color:black}


参考答案:C

第9题:

下列哪个CSS语法是正确的?()

  • A、body.color=red
  • B、{body.color=red}
  • C、{body:color=red}
  • D、body{color:red}

正确答案:D

第10题:

下列表示,可链接文字的颜色是黑色的是()

  • A、<body link=black> 
  • B、<body text=black> 
  • C、<body vlink=black> 
  • D、<body alink=black>

正确答案:A

更多相关问题