mcqs bucket

  • Computer ProgrammingMcqs Questions | MCQs Bucket

    mcqsbucket

      Best guide for exams of all nature, Competitive exams and Interviews
Here is the MCQs guide for the topic of Computer Programming. you will find various types of questions along with there answers in this
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
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
Advertisment