答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【多选题】【消耗次数:1】
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示: 这是一个段落下面选项中, 下列选项中正确定义了该段落元素样式规则的有( )
①
P{color:red}
②
#firstp{color:red}
③
.firstp{color:red}
④
P.{color:red}
参考答案:
复制
纠错
相关题目
【多选题】
在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
查看完整题目与答案
【多选题】
在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
查看完整题目与答案
【单选题】
样式表定义:#title{color:red}表示( )
①
网页中的标题是红色的
②
网页中某一个id为title的元素中的内容是红色的
③
网页中元素名为title的内容是红色的
④
以上任意一个都可以
查看完整题目与答案
【单选题】
样式表定义#title?{color:red}表示(???)。
①
网页中的标题是红色的
②
网页中某一个id为title的元素中的内容是红色的
③
网页中元素名为title的内容是红色的
④
以上任意一个都可以
查看完整题目与答案
【单选题】
利用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
查看完整题目与答案
【判断题】
hr?color=red 表示页面顶部是红色。
①
正确
②
错误
查看完整题目与答案
【判断题】
CSS中的color属性用于设置HTML元素的背景颜色。
①
正确
②
错误
查看完整题目与答案
【单选题】
阅读下面的HTML代码,其段落标签内文本最终显示的颜色是(????)。 style?type=text/css? body?{?color:#333;?}? #text{?color:#f00;?}? .content?{?color:#00f;?}? .gray?{?color:#666;?}? /style ?......? p?id=text?class=content?gray谁知盘中餐,粒粒皆辛苦 ?......
①
#f00
②
#00f
③
#666
④
#333
查看完整题目与答案
【单选题】
阅读下面的HTML代码,其段落标签内文本最终显示的颜色是(????)。style?type=text/css? body?{?color:#333;?}? #text{?color:#f00;?}? .content?{?color:#00f;?}? .gray?{?color:#666;?}?/style ?......?p?id=text?class=content?gray谁知盘中餐,粒粒皆辛苦......
①
#f00
②
#00f
③
#666
④
#333
查看完整题目与答案
【单选题】
如下所示的这段CSS样式代码,定义的样式效果是( )。a:link {color: #ff0000;} a:visited {color: #00ff00;}a:hover {color: #0000ff;}a:active {color: #000000;}其中#ff0000为红色,#00000为黑色,#0000ff为蓝色, #00ff00为绿色
①
A. 默认链接色是绿色,访问过链接是蓝色,鼠标上滚链接是黑色,活动链接是红色
②
B. 默认链接色是蓝色,访问过链接是黑色,鼠标上滚链接是红色,活动链接是绿色
③
C. 默认链接色是红色,访问过链接是绿色,鼠标上滚链接是蓝色,活动链接是黑色
④
D. 默认链接色是黑色,访问过链接是红色,鼠标上滚链接是绿色,活动链接是蓝色
查看完整题目与答案
随机题目
【单选题】
This bright girl______ the truth in front of the enemy.
①
didn’t say
②
couldn’t speak to
③
said
④
didn’t tell
查看完整题目与答案
【单选题】
________the front door________,he had to enter the room through the back door.
①
Seen;painted
②
Seeing;painted
③
Being seen;being painted
④
Seeing;being painted
查看完整题目与答案
【单选题】
This book is_____that one. But______than that one.
①
as difficult as ;expensive
②
as more difficult as ; more expensive
③
as difficult as ; more expensive
④
more difficult as ; as expensive
查看完整题目与答案
【单选题】
It was his fault,but he put the blame on others—thats _______ we cant agree.
①
where
②
what
③
how
④
which
查看完整题目与答案
【单选题】
It was said that his father_______ .
①
has died
②
died
③
has been dead
④
had died
查看完整题目与答案
【单选题】
I was told yesterday that the company__________me to Rome next week for a business conference.
①
should have sent
②
was going to send
③
should be sending
④
should send
查看完整题目与答案
【单选题】
Whenwespeaktopeople,weshouldbe_______.
①
aspoliteaspossible
②
aspoliteaspossibly
③
aspolitelyaspossible
④
aspolitelyaspossibly
查看完整题目与答案
【单选题】
When he came to,he found himself________on a chair,with his hands________back.
①
to sit;tying
②
sitting;tying
③
seating;tied
④
seated;tied
查看完整题目与答案
【单选题】
Where is my pen? I________it.
①
might lose
②
would have lost
③
should have lost
④
must have lost
查看完整题目与答案
【单选题】
I will ________here till you give me some money.
①
leave
②
not leave
③
come
④
return
查看完整题目与答案