mcqs bucket

  • CSS Mcqs Questions | MCQs Bucket Largest Mcqs Website

    mcqsbucket

      Best guide for exams of all nature, Competitive exams and Interviews
Here is the MCQs guide for the topic of CSS. you will find various types of questions along with there answers in this
Q. What is the default value of the position property?
A.
relative
B.
static
C.
fixed
D.
absolute


Show Answer
Q. How do you group selectors?
A.
Separate each selector with a space
B.
Separate each selector with a comma
C.
Separate each selector with a plus sign


Show Answer
Q. How do you select all p elements inside a div element?
A.
div p
B.
div.p


Show Answer
Q. How do you select elements with class name "test"?
A.
.test
B.
test
C.
#test


Show Answer
Q. How do you select an element with id "demo"?
A.
#demo
B.
demo
C.
.demo


Show Answer
Q. How do you make a list that lists its items with squares?
A.
list-style-type: square;
B.
list: square;
C.
ist-type: square;


Show Answer
Q. When using the padding property; are you allowed to use negative values?
A.
Yes
B.
No


Show Answer
Q. Which property is used to change the left margin of an element?
A.
margin-left
B.
padding-left
C.
indent


Show Answer
Q. How do you make the text bold?
A.
font-weight:bold;
B.
font:bold;
C.
style:bold;


Show Answer
Q. Which property is used to change the font of an element?
A.
font-family
B.
font-style
C.
font-weight


Show Answer