【单选题】【消耗次数:1】
CSS样式,id选择器使用HTML元素的id属性,用下面哪一个来定义?
$
.
*
#
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 CSS样式,id选择器使用HTML元素的id属性,用下面哪一个来定义?*
①  {}
②  .
③  id
④  #
【单选题】 下面哪个运用了ID选择器( )
①  a{color:red;}
②  .red{color:red;}
③  #red{color:red;}
④  [att=red]{color:red;}
【单选题】 页面中有一个id为price的层,并且有一个id选择器price用来设置层price的样式,在IE浏览器中运行此页面,下面( )能正确获取层的背景颜色。(选择一项)
①  document.getElementById(price).currentStyle.backgroundColor
②  document.getElementById(price).currentStyle.background-color
③  document.getElementById(price).style.backgroundColor
④  var divObj=document.getElementById(pricedocument.defaultView.getComputedStyle(divObj,null).background;
【单选题】 页面中有一个id为price的层,并且有一个id选择器price用来设置层price的样式,在IE浏览器中运行此页面,下面( )能正确获取层的背景颜色。
①  document.getElementById(price).currentStyle.backgroundColor
②  document.getElementById(price).currentStyle.background-color
③  document.getElementById(price).style.backgroundColor
④  var divObj=document.getElementById(price);document.defaultView.getComputedStyle(divObj,null).background;
【单选题】 如果一个元素外层套用了HTML样式,内层套用了CSS样式,在起作用的是____。
①  两种样式的混合效果
②  冲突,不能同时套用
③  CSS样式
④  HTML样式
【单选题】 阅读下面的HTML代码,如果期望tabs位于box容器的右下角,则需要添加的CSS样式是(????)。? div?id=boxdiv?id=tabs/div/div
①  #tabs{position:absolute;right:0;bottom:0;}
②  #tabs{position:relative;right:0;bottom:0;}
③  #box{position:relative;}#tabs{position:absolute;right:0;bottom:0;}
④  #box{position:relative;}#tabs{position:rightbottom;}
【判断题】 css样式优先级最高的是id样式( )。
①  正确
②  错误
【单选题】 阅读下面的HTML代码,如果期望tabs位于box容器的右下角,则需要添加的CSS样式是(????)。?div?id=box div?id=tabs/div/div?
①  #tabs{position:absolute; right:0 ;bottom:0;}
②  #tabs{position:relative; right:0; bottom:0;}
③  #box{position:relative;}#tabs{position:absolute; right:0; bottom:0;}
④  #box{position:relative;}#tabs{position:right bottom;}
【单选题】 ID选择器以什么开头?
①  !
②  %
③  #
④  .
【判断题】 在CSS中定义能多次引用样式的选择器是超链接选择器( )。
①  正确
②  错误
随机题目
【多选题】 >?
①  被西方评论界誉为“60年代最好的一部作品”。
②  小说写的是法国一支空军中队的内幕。
③  主人公是尤索林。
④  尤索林是荒诞与疯狂社会中的清醒者。
【多选题】 意识流作家伍尔芙的作品主要有?
①  《荒原》
②  《墙上的斑点》
③  《达罗卫夫人》
④  《到灯塔去》
【多选题】 存在主义的作家有?
①  萨特
②  西蒙娜·波伏娃
③  加缪
④  尤奈斯库
【多选题】 新小说的代表作品有?
①  >
②  >
③ 
④  >
【多选题】 新小说的代表作家有?
①  格里耶
②  萨洛特
③  西蒙
④  布托尔
【多选题】 意识流小说家乔伊斯重要作品有?
①  >
②  >
③  >
④  >
【多选题】 萨特的主要哲学著作有?
①  >
②  >
③  >
④  >
【多选题】 萨特的剧作有?
①  《苍蝇》
②  《禁闭 》
③  《墙 》
④  《恶心》
【单选题】 这一流派的小说家在艺术观念上极力主张文学应该客观摹写世界,主张在作品中抛弃任何作家主观的思想见解和议论,作家所做的只是精细如实地反映外部世界,尤其是刻绘外在的物质世界。因此,对“物,)66重要性的强调在这一流派的小说家那里走向了极端。这一流派是?
①  现实主义
②  存在主义
③  新小说派
④  表现主义
【单选题】 他们在小说中表达他们的哲学观点,其作品最显著的艺术特征是哲理化。这一流派是?
①  表现主义
②  魔幻现实主义
③  存在主义
④  黑色幽默