下面哪个是CSS的基本语法?
A: selector {property1:value1;property2:value2;property3:value3;...}
B: selector {property1,value1;property2,value2;property3,value3;...}
C: selector {property1:value1,property2:value2,property3:value3,...}
D: selector {property1,value1,property2,value2,property3,value3,...}
A: selector {property1:value1;property2:value2;property3:value3;...}
B: selector {property1,value1;property2,value2;property3,value3;...}
C: selector {property1:value1,property2:value2,property3:value3,...}
D: selector {property1,value1,property2,value2,property3,value3,...}
举一反三
- 下面CSS语法结构正确的选项有( )。 A: selector{property:value} B: selector{property:value;property:value} C: selector,selector{property:value} D: selector,selector{property:value;property:value}
- CSS基本语法:selector{property1:value1, property2:value2, ……} A: 正确 B: 错误
- 智慧职教: CSS语法中selector、property、value依次代表?
- CSS样式表项的组成为:selector{property1:value1, property2:value2, ……}
- 在$(selector).attr("property","value"),property可以是元素的样式属性,如style等;也可以是其他属性,如value等。( )