CSS / CSS3 : Web Designing Questions & Answers
Question : Which css property you will use if you want to add some margin between a DIV's border and its inner text ?
A.
spacing
B.
margin
C.
padding
D.
inner-margin
Correct Answer is : Option C.
- Which CSS property is used to control the text size of an element ?
- The default value of "position" attribute is _________.
- How will you make all paragraph elements 'RED' in color ?
- By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ?
- If we want define style for an unique element, then which css selector will we use ?