在下列的 HTML 中,哪个可以添加背景颜色? () A: <body color="yellow"> B: <background>yellow</background> C: <body bgcolor="yellow"> D: <body style="background-color:yellow" />
在下列的 HTML 中,哪个可以添加背景颜色? () A: <body color="yellow"> B: <background>yellow</background> C: <body bgcolor="yellow"> D: <body style="background-color:yellow" />
Vue中如何通过内联样式设置背景色为黑色 A: :style="{background:'red'}" B: style="{background:'red'}" C: class="{background:'red'}" D: :styles="{background:black}"
Vue中如何通过内联样式设置背景色为黑色 A: :style="{background:'red'}" B: style="{background:'red'}" C: class="{background:'red'}" D: :styles="{background:black}"
中国大学MOOC: 有关以下代码说法正确的有( )。<style > a{color:blue; text-decoration:none; } a:link{color:blue;} a:visited{color:green;} a:hover{color:red;} </style>
中国大学MOOC: 有关以下代码说法正确的有( )。<style > a{color:blue; text-decoration:none; } a:link{color:blue;} a:visited{color:green;} a:hover{color:red;} </style>
下面代码使用HTML元素的id属性,将样式应用于网页上的某个段落:<p id="firstp">这是第一个段落</p> 以下关于样式规则定义正确的是( )。 A: <style type="text/css"> p{color:red}</style> B: <style type="text/css"> #firstp {color:red}</style> C: <style type="text/css"> .firstp {color:red}</style> D: <style type="text/css"> p.firstp {color:red}</style>
下面代码使用HTML元素的id属性,将样式应用于网页上的某个段落:<p id="firstp">这是第一个段落</p> 以下关于样式规则定义正确的是( )。 A: <style type="text/css"> p{color:red}</style> B: <style type="text/css"> #firstp {color:red}</style> C: <style type="text/css"> .firstp {color:red}</style> D: <style type="text/css"> p.firstp {color:red}</style>
下面代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id="firstp">这是第一个段落</P>下面选项中,( )正确定义了上面代码引用的样式规则。 A: <STYLE TYPE="text/css">p{color:red}</STYLE> B: <STYLE TYPE="text/css"> C: firstp{color:red}</STYLE> D: <STYLE TYPE="text/css">.firstp {color:red}</STYLE> E: <STYLE TYPE="text/css">p.firstp{color:red}</STYLE>
下面代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id="firstp">这是第一个段落</P>下面选项中,( )正确定义了上面代码引用的样式规则。 A: <STYLE TYPE="text/css">p{color:red}</STYLE> B: <STYLE TYPE="text/css"> C: firstp{color:red}</STYLE> D: <STYLE TYPE="text/css">.firstp {color:red}</STYLE> E: <STYLE TYPE="text/css">p.firstp{color:red}</STYLE>
智慧职教: 有关下面代码片段的说法,( )是正确的。 <STYLE type="text/css"> A{ color:blue; text-decoration:none; } A:link{ color:blue; } A:hover{ color:red; } A:visited{ color:green; } </STYLE>
智慧职教: 有关下面代码片段的说法,( )是正确的。 <STYLE type="text/css"> A{ color:blue; text-decoration:none; } A:link{ color:blue; } A:hover{ color:red; } A:visited{ color:green; } </STYLE>
在下面代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>下面选项中,( )正确将段落文字设置为红色。 A: <Style Type=”text/css”> P {color:red} </Style> B: <Style Type=”text/css”> C: firstp {color:red} </Style> D: <Style Type=”text/css”> .firstp {color:red} </Style> E: <Style Type=”text/css”> P.firstp {color:red} </Style>
在下面代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>下面选项中,( )正确将段落文字设置为红色。 A: <Style Type=”text/css”> P {color:red} </Style> B: <Style Type=”text/css”> C: firstp {color:red} </Style> D: <Style Type=”text/css”> .firstp {color:red} </Style> E: <Style Type=”text/css”> P.firstp {color:red} </Style>
为了给页面所有〈h1〉标题创建样式规则,指定将所有的〈h1〉标题显示为蓝色,字体显示为Arial。下列操作正确的是(___)。 A: 〈style type="text/css"〉 h1{color: "blue"} h1{font-family: "arial"} 〈/style〉 B: 〈style type="text/css"〉 h1{color: "blue"; fontface: "arial"} 〈/style〉 C: 〈style type="text/css"〉 h1{color: "blue"; font-family: "arial"} 〈/style〉 D: 〈style type="text/css"〉 h1{color: "blue";} h1{fontface: "arial"} 〈/style〉
为了给页面所有〈h1〉标题创建样式规则,指定将所有的〈h1〉标题显示为蓝色,字体显示为Arial。下列操作正确的是(___)。 A: 〈style type="text/css"〉 h1{color: "blue"} h1{font-family: "arial"} 〈/style〉 B: 〈style type="text/css"〉 h1{color: "blue"; fontface: "arial"} 〈/style〉 C: 〈style type="text/css"〉 h1{color: "blue"; font-family: "arial"} 〈/style〉 D: 〈style type="text/css"〉 h1{color: "blue";} h1{fontface: "arial"} 〈/style〉
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:<Pclass=“firstp”>这是一个段落</P>下面选项中,()正确定义了上面代码引用的样式规则。 A: <style type="text/css">P{color:red}</style> B: <style type="text/css">#firstp {color:red} </style> C: <style type="text/css"> .firstp{color:red} </style> D: <style type="text/css"> E: firstp{color:red}</style>
在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:<Pclass=“firstp”>这是一个段落</P>下面选项中,()正确定义了上面代码引用的样式规则。 A: <style type="text/css">P{color:red}</style> B: <style type="text/css">#firstp {color:red} </style> C: <style type="text/css"> .firstp{color:red} </style> D: <style type="text/css"> E: firstp{color:red}</style>
设置文本颜色,应该使用属性? A: textcolor B: color C: fontcolor D: background color
设置文本颜色,应该使用属性? A: textcolor B: color C: fontcolor D: background color