【单选题】
在利用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%}
【单选题】
利用XSL创建一style属性,style的值为“color:bule;background-color:red”,能实现该功能的选项为()。
①
attributename="color"blue/attributeattributename="background-color"red/attribute
②
attributename="style"color:blue/attributeattributename="style"background-color:red/attribute
③
attributename="style"color:blue;background-color:red/attribute
④
elementattribute="style"color:blue;background-color:red/element