Aptitude Tests, Mental Ability, Objective MCQ Sets, Questions and Answers, PDF, Shortcut Tips

CSS (Cascading Style Sheets) → Page 4

CSS (Cascading Style Sheets) solved MCQ sets : CSS MCQ - Multiple Choice Questions and Answers on css Given below some important MCQ questions on CSS (Objective type, Multiple Choice) Question and Answer, from where you can sharpen your knowledge on CSS. There are some questions on CSS3 too. This online CSS test will introduce you to some advanced aspect of CSS code. As a whole these questions ...READ MORE


TEST INSTRUCTION: CLICK OPTION (A, B, C, D) TO SEE ANSWER.


Q.

1. 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


Show Answer
Q.

2. Which CSS property is used to control the text size of an element ?

A.
font-style
B.
text-size

C.
font-size
D.
text-style


Show Answer
Q.

3. The default value of "position" attribute is _________.

A.
fixed
B.
absolute

C.
inherit
D.
relative


Show Answer
Q.

4. How will you make all paragraph elements 'RED' in color ?

A.
p.all {color: red;}
B.
p.all {color: #990000;}

C.
all.p {color: #998877;}
D.
p {color: red;}


Show Answer
Q.

5. By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ?

A.
a {text: no-underline;}
B.
a {text-decoration:none;}

C.
a {text-style: no-underline;}
D.
a {text-decoration: no-underline;}


Show Answer




eXTReMe Tracker