Computer Applications
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
CSS
16 Likes
Answer
(i)
body {
background-color: yellow;
}
(ii)
h2 {
color: red;
margin-left: 25px;
}
Answered By
13 Likes
Related Questions
How do Intellectual Property Rights provide protection to digital work? Write any two ways to avoid plagiarism.
Consider the following URLs :
https://www.practicepayment.com— URL1http://www.practicepayment.com— URL2(a) What is the difference between URL1 and URL2 ?
(b) Which of the two URLs will you prefer to use and why ?
(c) Expand www.
(i) Write a CSS code to display the first level heading text as My School in Green color and center-aligned.
(ii) Write the CSS code to display the following paragraph below the above mentioned heading :
This is my School I study in class 12The properties of the paragraph content should be as follows :
(I) Text color should be yellow
(II) Font size should be 25 px
(III) Font style should be bold
Write the full form of the following protocols :
(a) HTTPS
(b) TCP
(c) SSH