【多选题】
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:
Pclass=”firstp”这是一个段落下面选项中,
下列选项中正确定义了该段落元素样式规则的有( )
①
sytletype=”text/css”P{color:red}/sytle
②
sytletype=”text/css”#firstp{color:red}/sytle
③
sytletype=”text/css”.firstp{color:red}/sytle
④
sytletype=”text/css”P.{color:red}/sytle
【多选题】
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:
P class=firstp这是一个段落下面选项中,
下列选项中正确定义了该段落元素样式规则的有( )
①
sytle type=text/cssP{color:red}/sytle
②
sytle type=text/css#firstp{color:red}/sytle
③
sytle type=text/css.firstp{color:red}/sytle
④
sytle type=text/cssP.{color:red}/sytle
【单选题】
利用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