Which of the following is the syntax of CSS ?(a) select {property : value} (b) selector {value : property}(c) selector {property : value} (d) selection {property : value}
Answers
Answered by
4
C) selector{property:value} is the correct syntax for CSS.
For example, p{color:red} in this, p is the element, color is the property of the p element and red is the value for the property color which belongs to the element p.
Hence, following these rules, variousHTML elements could be styled.
Similar questions
History,
6 months ago
Biology,
6 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago