• 2022-06-09 问题

    在下列的 HTML 中,哪个可以添加背景颜色? () A: <body&nbsp;color="yellow"> B: <background>yellow</background> C: <body&nbsp;bgcolor="yellow"> D: <body&nbsp;style="background-color:yellow"&nbsp;/>

    在下列的 HTML 中,哪个可以添加背景颜色? () A: <body&nbsp;color="yellow"> B: <background>yellow</background> C: <body&nbsp;bgcolor="yellow"> D: <body&nbsp;style="background-color:yellow"&nbsp;/>

  • 2022-05-30 问题

    ‎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}"

  • 2022-06-05 问题

    中国大学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> 

  • 2022-05-26 问题

    下面代码使用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>

  • 2022-05-26 问题

    下面代码使用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>

  • 2022-06-05 问题

    智慧职教: 有关下面代码片段的说法,( )是正确的。 <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>

  • 2022-05-26 问题

    在下面代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:&lt;P id=”firstp”&gt;这是一个段落&lt;/P&gt;下面选项中,( )正确将段落文字设置为红色。 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属性,将样式应用于网页上的某个段落:&lt;P id=”firstp”&gt;这是一个段落&lt;/P&gt;下面选项中,( )正确将段落文字设置为红色。 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>

  • 2022-05-30 问题

    为了给页面所有〈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〉

  • 2022-06-06 问题

    在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>

  • 2022-06-09 问题

    设置文本颜色,应该使用属性? A: textcolor B: color C: fontcolor D: background color

    设置文本颜色,应该使用属性? A: textcolor B: color C: fontcolor D: background color

  • 1 2 3 4 5 6 7 8 9 10