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. How do you make each word in a text start with a capital letter?
A.
text-style:capitalize
B.
transform:capitalize
C.
text-transform:capitalize


Show Answer
Q. Which CSS property controls the text size?
A.
font-size
B.
text-size
C.
text-style
D.
font-style


Show Answer
Q. Which CSS property is used to change the text color of an element?
A.
color
B.
text-color
C.
fgcolor


Show Answer
Q. Which property is used to change the background color?
A.
background-color
B.
color
C.
bgcolor


Show Answer
Q. How do you insert a comment in a CSS file?
A.
/* this is a comment */
B.
// this is a comment //
C.
// this is a comment


Show Answer
Q. Which is the correct CSS syntax?
A.
body { color: black; }
B.
{ body:color=black; }
C.
body:color=black;


Show Answer
Q. Which HTML attribute is used to define inline styles?
A.
style
B.
styles
C.
font
D.
class


Show Answer
Q. Where in an HTML document is the correct place to refer to an external style sheet?
A.
In the < head > section
B.
In the < body > section
C.
At the end of the document


Show Answer
Q. What does CSS stand for?
A.
Cascading Style Sheets
B.
Colorful Style Sheets
C.
Computer Style Sheets
D.
Creative Style Sheets


Show Answer