CSS

Q 1 - Which of the following selector selects all paragraph elements with a lang attribute?
A - p[lang]
B - p[lang="fr"]
C - p[lang~="fr"]
D - p[lang|="fr"]
Q 2 - Which of the following is a way to associate styles with your HTML document?
A - External CSS - The Element
B - Imported CSS - @import Rule
C - Both of the above.
D - None of the above.
Q 3 - Which of the following defines 1% of viewport width?
A - px
B - vh
C - vw
D - vmin Show Answer
Q 4 - Which of the following property is used to control the position of an image in the background?
A - background-color
B - background-image
C - background-repeat
D - background-position
Q 5 - Which of the following property is used as shorthand to specify a number of other font properties?
A - font-size
B - font
C - font-variant
D - font-weight
Q 6 - Which of the following property is used to set the opacity of an image?
A - border
B - height
C - width
D - -moz-opacity
Q 7 - Which of the following property specifies whether a border should be solid, dashed line, double line, or one of the other possible values?
A - :border-color
B - :border-style
C - :border-width
D - :border-bottom-color
Q 8 - Which of the following property changes the width of left border?
A - :border-bottom-width
B - :border-top-width
C - :border-left-width
D - :border-right-width
Q 9 - Which of the following property allows you to control the shape or appearance of the marker of a list?
A - list-style-type
B - list-style-position
C - list-style-image
D - list-style
Q 10 - Which of the following value of cursor shows it as crosshair or plus sign?
A - crosshair
B - default
C - pointer
D - move
0
{"name":"CSS", "url":"https://www.quiz-maker.com/QJZY3UR","txt":"Q 1 - Which of the following selector selects all paragraph elements with a lang attribute?, Q 2 - Which of the following is a way to associate styles with your HTML document?, Q 3 - Which of the following defines 1% of viewport width?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker