Font size
WorksheetsCSS Properties
Total questions: 10
Worksheet time: 4mins
changing the color of the background can be done using
Background-colour
backGround-color
background-color
all the above
Choose the correct option in styling the button
<button id="btnStart" class="btnClass" onclick="start()">Start</button>
button{
border-radius:50px;
}
#btnClass{
border-radius:50px;
}
.btnStart{
border-radius:50px;
}
all the above
Which of the following is correct about padding?
padding creates space around the html element within the margin
padding creates space around the margin of the html elements
padding can accept negative values
all the above
Which of the following places the components in the center
float:none
vertical-align:middle
text-align:center
all the above
which of the following gives full transparency
opacity:0.5;
background: rgba(200,250,150,0)
background: rgba(200,250,150,0.5)
all the above
Find out the correct comments
<!-- -->
//
/* */
all the above
Empty tags or no ending tags
img
br
h1
input
hr
hides any html element/ component
display:inline
display:inline-block
display:none
all the above
which property shows that items are forced onto one line
flex-wrap: wrap
flex-wrap: nowrap
flex-wrap:wrap-reverse
Expansion of CSS
Cascade style sheet
Cascading Style Sheet
color property style sheet
none
