在CSS规则中,用于设置字号大小的属性是()。
A: font-family
B: font-style
C: font-weight
D: font-size
A: font-family
B: font-style
C: font-weight
D: font-size
举一反三
- 在CSS文件中,什么属性设置字号? A: font-size B: size C: font-style D: font
- 用于设置文本字体的CSS属性为() A: font B: font-family C: font-size D: font-style
- font属性用于对字体样式进行综合设置,格式如下: 选择器{font:font-stylefont-weightfont-size/line-heightfont-family;} 其中,不需要设置的属性可以省略(取默认值),但必须保留()属性,否则font属性将不起作用。 A: font-size和font-family B: font-style和font-family C: font-weight和font-size D: font-weight和font-family
- 下列属性中,能够控制元素字体的属性是 A: font -weight B: font -family C: font -size D: font-type
- 设置文本加粗的CSS属性是(_____)。 A: font:b B: style:bold C: font:bold D: font-weight:bold