Show List

Quiz - CSS - 3

64%

Public Average Score
Select the right answer for below questions:

What is the purpose of CSS in web development?
To provide styling to HTML elements
To provide functionality to HTML elements
To provide layout to HTML elements
To provide all of the above
To provide styling to HTML elements

What is the syntax for adding a comment in CSS?
// comment
/* comment */
/* comment */

What is the CSS property to specify the space between elements?
margin
padding
spacing
gutter
margin

What is the CSS property to specify the background color of an element?
background-bg
bg-color
background-color
color
background-color

What is the CSS property to specify the text color of an element?
text-color
font-color
color
font-text-color
color

What is the CSS property to specify the font size of an element?
font-size
text-size
size
font-text-size
font-size

What is the CSS property to specify the font family of an element?
text-family
family
font-text-family
font-family
font-family

What is the CSS property to specify the width of an element?
height
size
width
dimension
width

What is the CSS property to specify the height of an element?
width
size
height
dimension
height

What is the CSS property to specify the border of an element?
border
outline
frame
edge
border

Submit
Retry
{"qz1-694576":"To provide styling to HTML elements","qz1-694577":"/* comment */","qz1-694578":"margin","qz1-694579":"background-color","qz1-694580":"color","qz1-694581":"font-size","qz1-694582":"font-family","qz1-694583":"width","qz1-694584":"height","qz1-694585":"border"}

    Leave a Comment


  • captcha text