【单选题】【消耗次数:1】
在利用CSS表现XML时,需要将XML文档中的preface元素的内容以独立段落的方式显示,下面正确的选项是()。
preface{display:list-item}
preface{display:block}
preface{display:inline}
preface{display:none}
参考答案:
复制
纠错
相关题目
【判断题】 如果在利用CSS表现XML文档时需要将某元素的内容设置为不可见,可以利用display属性,将其值设置为none就可以实现。
①  正确
②  错误
【多选题】 在利用CSS表现XML时,需要将XML文档中的author元素的内容以列表项的方式显示,且列表项符号为实心圆,且项目符号突出到内容左边界以外,下面正确的选项是()。
①  author{display:list-item;list-style-type:disc}
②  author{display:list-item;list-style-type:disc;list-style-position:outside}
③  author{display:list-item;list-style:discoutside}
④  author{display:list-item;list-style-type:discoutside}
【单选题】 在利用CSS表现XML时,如果需要将XML文档中的publisher元素的内容以小型大写字母显示,且字号大小为父元素内容显示大小的80%,则下面正确的选项为()。
①  publisher{font-style:small-caps;font-size:80%}
②  publisher{font-transform:small-caps;font-size:80%}
③  publisher{font-variant:small-caps;font-size:80%}
④  publisher{font-variant:small-caps;font-weight:80%}
【单选题】 下列定义函数display()语法正确的是( )。
①  function display(){}
②  function: display(){}
③  function=display(){}
④  display(){}
【单选题】 过程的DISPLAY表中记录了。
①  过程的嵌套层次
②  过程的连接数据
③  过程的返回地址
④  过程的入口地址
【判断题】 在利用CSS表现XML时,如果需要设置xml元素的多个背景属性,可以利用简略属性“background”一次进行设置,多个属性值之间用空格分开。
①  正确
②  错误
【单选题】 关于以下JavaScript代码,说法正确的是( )。 var s = document.getElementsByTagName(p); for(var i = 0;i<s.length;i++) { s[i].style.display=none; }
①  隐藏了页面中所有id为p的对象
②  隐藏了页面中所有name为p的对象
③  隐藏了页面中所有标签为的对象
④  隐藏了页面中标签为的第一个对象
【单选题】 关于以下JavaScript代码,说法正确的是( )。var s = document.getElementsByTagName(pfor(var i = 0;i(s.length;i++) { s[i].style.display=none}
①  隐藏了页面中所有id为p的对象
②  隐藏了页面中所有name为p的对象
③  隐藏了页面中所有标签为(p)的对象
④  隐藏了页面中标签为(p)的第一个对象
【判断题】 在XML文档中,文档类型声明放在XML声明之后和根元素之前。
①  正确
②  错误
【判断题】 XML元素与XML标记的关系是XML元素包含XML标记,即元素为标记+内容。
①  正确
②  错误
随机题目
【单选题】 The ( ) of this approach is a lack of clear leadership.
①  merit
②  advantage
③  virtue
④  downside
【单选题】 I agree with you to a certain ( ).
①  amount
②  degree
③  point
④  grade
【单选题】 A set of ( ) of the product is included in the package for you to try first.
①  sampler
②  example
③  sample
④  sampling
【单选题】 He wished to earn a living through writing but ( ) doing so.
①  succeeded in
②  was proud of
③  despaired of
④  was pleased with
【单选题】 Prices of goods ( ) online can be lower than those in off-line stores.
①  buying
②  buy
③  bought
④  that buys
【单选题】 The Chinese ( ) paper for two thousand years.
①  have made
②  have been making
③  had made
④  are being made
【单选题】 The windows were ( ) with locks and bars.
①  sought
②  surrendered
③  secured
④  separated
【单选题】 This job is great ( ) advancement, but its too far away from my hometown.
①  in terms of
②  as a result of
③  based on
④  on behalf of
【单选题】 The gardens and history of Suzhou ( ) all who visit there.
①  captivate
②  captive
③  captivation
④  captivating
【单选题】 The government would be unwise to ( ) the complaints of its people.
①  overlook
②  ignore
③  neglect
④  disrespect