下列样式定义字体为宋体、字体颜色为红色、斜体、大小20px、粗细800号,正确的定义是( )。
A: p {font-family:20px; font-size:宋体; font-weight:800; color: red; font-style:italic; }
B: p {font-family:宋体;font-size:20px;font-weight:800;color:red; font-style:italic; }
C: p {font-family:20px; font-size:800; font-weight:宋体; color:red; font-style:italic; }
D: p{font-family:800; font-size:20px; font-weight:red; color:italic; font-style:宋体;}
A: p {font-family:20px; font-size:宋体; font-weight:800; color: red; font-style:italic; }
B: p {font-family:宋体;font-size:20px;font-weight:800;color:red; font-style:italic; }
C: p {font-family:20px; font-size:800; font-weight:宋体; color:red; font-style:italic; }
D: p{font-family:800; font-size:20px; font-weight:red; color:italic; font-style:宋体;}
举一反三
- <span style="font-family:宋体"><font face="宋体">生态自然观来源于(</font></span> <span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">)的观点</font></span></span>
- CSS中字体的复合属性书写格式和顺序正确的是( )。 A: ody{font:font-weight font-style font-size/line-height font-family} B: ody{font: font-weight font-size/line-heightfont-style font-family} C: ody{font-style font-weight font-size/line-height font-family} D: ody{font:font-style font-weight font-size/line-height font-family}
- 若要以加粗宋体、12号字显示“vbscript”以下用法中,正确的是() A: <;b>;<;font style='font-size:12px'>;vbscript<;/b>;<;/font>; B: <;b>;<;font face=”宋体” style='font-size:12px'>;vbscript<;/font>;<;/b>; C: <;b>;<;font size=“宋体”style='font-size:12px'>;vbscript<;/b>;<;/font>; D: <;b>;<;font size=“宋体” fontstyle='font-size:12px'>;vbscript<;/b>;<;/font>;
- 若要以加粗宋体、12号字显示“vbscript”以下用法中,正确的是 A: <b><font style='font-size:12px'>vbscript</b></font> B: <b><font face=”宋体” style='font-size:12px'>vbscript</font></b> C: <b><font size=“宋体”style='font-size:12px'2>vbscript</b></font> D: <b><font size=“宋体” fontstyle='font-siz
- 下列定义段落p标记的样式为字体为黑体、字体颜色为蓝色、斜体、大小24px、粗细800, 正确的定义是:( )。 A: p{font-family:黑体;font-size:24px;font-weight:800;color:blue;font-style:italic;} B: p{font-family:24px;font-size:黑体;font-weight:800;color:blue;font-style:italic;} C: p{font-family:24px;font-size:800;font-weight:黑体;color:blue;font-style:italic;} D: p{font-family:800;font-size:24px;font-weight:blue;color: italic;font-style:黑体;}