Which of the following is known as special symbol in the syntax of CSS ? (a) Rules (b) Selector (c) Declaration (d) Input
Answers
Answered by
4
Special symbol in the syntax of CSS is selectors
Answered by
1
"Option (c) Declaration.
Declaration is known as the special symbol in the syntax of CSS. Usually the CSS syntax consists of Selector and the Declaration. Declaration part consists of “two or more” declarations separated by semicolons. Declaration will be having curly braces for denoting the start and stop of the code.
In the syntax
H1 {
Color: Green;
Font: Arial;
Font-size: 15;
}
Here, the content inside the curly braces color, font and font-size comes under the declaration part.
"
Similar questions