Computer Applications
Select the correct statement from the options given below.
- Body background-color:#F5A9A9; color; Black
- Body[background-color:#F5A9A9; color: Black]
- Body(background-color:#F5A9A9; color : Black)
- None of these
CSS
3 Likes
Answer
None of these
Reason — None of the statements follows the correct syntax to define a rule in CSS which is as follows:
selector {property1: value ; property2: value ; }
Answered By
3 Likes
Related Questions
Which one of the following is not a DHTML component?
- HTML
- Cascading Style Sheets (CSS)
- C++
- None of these
Which one of the following is the default value of border style?
- 1
- 2
- none
- None of these
Which property is used to set the size of a font?
- Font-size
- Font-style
- Font
- None of these
A …………… size sets the font size relative to surrounding elements.