A: h1strong{color:red;}
B: .sh1.strong{color:red;}
C: strong{color:red;}
D: h1>strong{color:red;}
当标记内嵌套[strong]标记时,就可以使用后代选择器对其中的[strong]标记进行控制,下列写法正确是( )(2.0) A: strong p{color:red;} B: p strong{color:red;} C: strong,p{color:red;} D: p.strong{color:red;}
[icon]是图标组件,以下哪句代码可以实现一个红色、40像素大小的搜索图标? 未知类型:{'options': ['[icon type="search" size="40" color="red"][/]', '[icon type="search" size="40px" color="red"][/]', '[icon type="discover" size="40" color="red"][/]', '[icon type="discover" size="40px" color="red"][/]'], 'type': 102}
分析下面的HEML代码片段,则选项中的说法错误的是( )。[HEAD][style type="text/css"].red{color:red;font-family:"宋体";font-size:15px;}P{color:blue;font-family:"隶书";font-size:20px;}[/][/][body][P class="red"]你好[/][H1 class="red"]欢迎[/][/] A: "red"为类样式 B: "P"为文档样式 C: “你好”和“欢迎”都应用了类样式"red" D: “你好”的文本颜色为红色
下面代码使用HTML元素的id属性,将样式应用于网页上的某个段落:[p id="firstp"]这是第一个段落 以下关于样式规则定义正确的是( )。 未知类型:{'options': ['[style type="text/css"] p{color:red}[/]', '[style type="text/css"]', 'firstp {color:red}</style>', '[style type="text/css"] .firstp {color:red}[/]', '[style type="text/css"] p.firstp {color:red}[/]'], 'type': 102}
在HTML中,下面( )不属于HTML文档的基本组成部分。 未知类型:{'options': ['[STYLE][/]', '[BODY][/]', '[HTML][/]', '[HEAD][/]P.{color :red}[/ sytle]'], 'type': 102}