CBSE Class 10 Computer Applications
Question 19 of 37
Cascading Style Sheets (CSS) — Question 15
Back to all questions 15
Question Question 15
How do you insert padding so that it is :
10 pixels at the top
15 pixels at the bottom
5 pixels at the right
10 pixels to the left
- padding:10px 15px 5px 10px ;
- padding:15px 5px 10px 10px ;
- padding:10px 5px 10px 15px ;
- padding:10px 5px 15px 10px ;
padding:10px 5px 15px 10px ;
Reason — The order of padding values is top, right, bottom and left. Thus, to insert the given padding, we write the definition as follows:
padding:10px 5px 15px 10px ;