假设已定义好的css样式代码如下所示,则选项( )能够实现在页面中将“文本”两个字显示为红色。
<style type="text/css">
div{color:red;}
#h1{color:red;}
.title{color:red;}
</style>
<p class="title">文本</p>
<h1>文本</h1>
<h1 id="title">文本</h1>
<div class="h1">文本</div>
假设已定义好的css样式代码如下所示,则选项( )能够实现在页面中将“文本”两个字显示为红色。
<style type="text/css">
div{color:red;}
#h1{color:red;}
.title{color:red;}
</style>
<p class="title">文本</p>
<h1>文本</h1>
<h1 id="title">文本</h1>
<div class="h1">文本</div>