在css3单位中,( )是font-size属性值的单位。
A: vh
B: em
C: vw
D: re
A: vh
B: em
C: vw
D: re
举一反三
- 在CSS文件中,什么属性设置字号? A: font-size B: size C: font-style D: font
- 在CSS样式中font-size属性用于设置字体大小,以下哪种写法单位不正确?( )。 A: font-size: 30px; B: font-size: 30deg; C: font-size: 30pt; D: font-size: 30em;
- 下面的选项中,CSS样式书写正确的是( )。 A: p { font-size:12px;color:red;} B: p { font-size=12px;color=red;} C: p { font-size:12px;} D: p { font-size:12;color:red;} E: :A,C F: 解析:CSS样式规则,具体格式如下: G: 器{属性1:属性值1; 属性2:属性值2; 属性3:属性值3;}
- 下列属于文本标记属性的是()。 A: font B: strong C: em D: size
- 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}