CSS MCQ Set Paper 2
CSS MCQ Set Paper 2
[Marks]1
[Negative Marks]0
Q.3) Which CSS property is equivalent for the attribute <xmp> <center>
</xmp>?
[a] color
[b] margin
*[c] align
[d] font
Q.4) Which of the following CSS property is used to give a line over the
text?
[a]text-decoration: underline
[b] text-decoration: line-through
[c] text-decoration: none
*[d] text-decoration: overline
[a] case
[b] text-case
*[c] text-transform
[d] text-casing
Q.10) The CSS border property specifies the style, color, and ___ of an
element's border.
[a] area
*[b] width
[c] size
[d] length
Q.11) Which of the following property applies one or more drop shadows
to the text?
[a] text-decoration-shadows
[b] text-effect
*[c] text-shadow
[d] text-format
[S1] This is for the solution
Q.12) In the given line of code, identify the type of selector used.
#Main {background-color: yellow;}
[a] border
*[b] p
[c] 2px
[d] None of these
Q.20) In the below code snippet, in what order will the margins be
added?
p {
margin: 25px 50px 75px 100px;}
*[a]Top,Right,Bottom,Left
[b]Top,Left,Bottom,Right
[c]Top,Bottom,Right,Left
[d]Right,left,Top,Bottom
Q.24) How can we specify the spacing between each letter in a text in
CSS?
[a]Character-spacing
[b]Alpha-spacing
*[c]letter-spacing
[d]None of the above
Q.25) Which of the following are valid CSS position property values?
[a]Static
[b]Relative
[c]Fixed
*[d]All of the above