【简答题】【消耗次数:1】
伪类选择器与类选择器的区别是,[填空]可以随便起名,但是[填空]是CSS中已经定义好的选择器,不能随便起名。
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 下面关于伪类选择器叙述正确的是( )
①  伪类选择器可以随便起名
②  伪类选择器和类选择器一样
③  伪类选择器的形式为a:hover{…}
④  伪类选择器只有一种
【多选题】 CSS 中的选择器包括( )
①  超文本标记选择器
②  类选择器
③  标签选择器
④  ID 选择器
【多选题】 CSS中的选择器包括( ?)。
①  超文本标记选择器
②  类选择器
③  标签选择器
④  ID选择器
【判断题】 在CSS中定义能多次引用样式的选择器是超链接选择器( )。
①  正确
②  错误
【单选题】 下面关于类选择器说法正确的是( )
①  不能为不同类型的HTML元素设置同样的类名
②  类选择器前面有一个“#”
③  在使用类选择器时,需要设置目标元素的class属性
④  为了将类选择器与元素关联,必须将ID属性指定一个适当的值
【单选题】 类选择器以什么开头:
①  !
②  %
③  #
④  .
【单选题】 【divp】是什么选择器( )
①  标签选择器
②  群组选择器
③  后代选择器
④  全局选择器
【单选题】 在CSS样式中以下哪个选项不属于选择器( )
①  元素选择器
②  #选择器
③  类选择器
④  id选择器
【单选题】 下列哪种方式是用类选择器定义样式的?
①  p{color:red;}
②  .one{color:red;}
③  #two{color:red;}
④  p,h1{color:red;}
【单选题】 下列哪种方式是用类选择器定义样式的( )
①  p{color:red;}
②  .one{color:red;}
③  #two{color:red;}
④  p,h1{color:red;}
随机题目
【单选题】 12. Last year_________ of new books were published on environmental protection.
①  thehundred
②  hundreds
③  ahundred
④  onehundred
【单选题】 20. Its impossible for all the people to get jobs because ______ of them are not fit for them.
①  none
②  all
③  notall
④  everyone
【单选题】 11. Having finished the letter, he_________ it carefully and sealed the envelop with a kiss.
①  folded
②  bent
③  turned
④  curved
【单选题】 17. ______ that the South African writer John Coetzee won the Nobel Prize in Literature for 2003.
①  Theyrereported
②  Hesreported
③  Werereported
④  Itsreported
【单选题】 15. ______ is known to us all is that China has launched Shenzhou V spaceship successfully.
①  That
②  What
③  It
④  As
【单选题】 14.He hasnt come yet.What do you consider _______ to him?
①  happens
②  hashappened
③  happening
④  tohappen
【单选题】 16.—Youve made great progress in your studies of English, havent you? ---Yes, but much.
①  remainstodo
②  isremainedtodo
③  remainstobedone
④  isremainedtobedone
【单选题】 18. ______ the Atlantic Ocean crosses the equator, the trade winds cause a flow of water to the west.
①  That
②  When
③  Where
④  Though
【单选题】 13. Unfortunately, when I dropped in, Doctor Li _____ for Beijing to join in the fight again SARS, so we only had time for a few words.
①  justleft
②  hasjustleft
③  isjustleaving
④  wasjustleaving
【单选题】 21. — When will you leave for Paris for a visit? — next month.
①  Until
②  After
③  At
④  In