CBSE Class 10 Computer Applications
Question 25 of 31
Solved 2023 Question Paper CBSE Class 10 Computer Applications (165) — Question 3
Back to all questions 3
Question Question 22(a)
Write the equivalent CSS code to set the following styles for a web page :
(i) Entire page background color should be yellow
(ii) Second level Heading properties should be as follows :
- Text color should be Red
- Left margin should be 25 px
(i)
body {
background-color: yellow;
}(ii)
h2 {
color: red;
margin-left: 25px;
}