在HTML页面上声明了如下所示的样式表,其中()样式为类样式。
< style type=""text"> < /style>
A.IMPORTANT
B.P
C.IMPORTANT和P均是
D.IMPORTANT和P均不是
您可能感兴趣的试卷
你可能感兴趣的试题
在HTML页面中,分析下面的样式规则,则以下选项中()表示属性。
P{color:red;font-size:30px;font-family:"宋体";}
A.P
B.color
C.red
D.30px
A.内嵌样式表
B.行内样式表
C.外部样式表文件
D.类样式表
A、<H1 id=red>第一个标题</H1><P id=blue>第一个段落</p>
B、<H1 color:red>第一个标题</H1><P color:blue>第一个段落</p>
C、<H1 class=red>第一个标题</H1><P class=blue>第一个段落</p>
D、<H2 class=red>第一个标题</H2><H1>第一个标题<H1><P id=blue>第一个段落</p>
A、<HTML>标签不区分大小写
B、段落是以<p>标签开头,以</p>标签结束
C、换行是以<br>标签开头,以</br>标签结束
D、<pre>是预先格式化标签
A.#(井号)
B..(点号)
C.!(叹号)
D.%(百分号)
A.margin-left是设置对象的左填充
B.border-width是设置边框的宽度
C.padding-left是设置内容与右边框之间的距离
D.以上说法都不对
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>
A.font-size用于设置文本的字体大小
B.font-family用与设置文本的字体类型
C.color用与设置文本的颜色
D.text-align用与设置文本的字体形状
A、<link type="text/css" rel="stylesheet" file="a.css">
B、<a type="text/css" rel="stylesheet" href="a.css">
C、<link type="text/css" rel="stylesheet" href="a.css">
D、<link type="text/css" rel="stylesheet" src="a.css">
A、<A href="right.html" target="_blank">新闻</A>
B、<A href="right.html" target="_parent">新闻</A>
C、<A href="right.html" target="_top">新闻</A>
D、<A href="right.html" target="_self">新闻</A>