MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
CSS
Basic CSS
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Which of the following defines 1% of viewport width?
px
vh
vw
vmin
Q.2
Which of the following uses 1vw or 1vh, whichever is smaller?
px
vh
vw
vmin
Q.3
Which of the following is correct about Hex Code format of CSS colors?
The first two digits(RR) represent a red value.
The next two are a green value(GG).
The last are the blue value(BB).
All of the above
Q.4
Which of the following Protocol enables a hyperlink to access a file on the local file system?
https
ftp
file
telnet
Q.5
Which of the following attribute specifies the URL of the linked resource?
src
link
rel
href
Q.6
Which of the following color has this value #ff0000?
blue
green
red
yellow
Q.7
Which of the following is correct about CSS?
CSS is used to control the style of a web document in a simple and easy way.
CSS is the acronym for "Cascading Style Sheet".
You can write CSS once and then reuse same sheet in multiple HTML pages
All of the above
Q.8
Which of the following is a component of CSS style rule?
Selector
Property
Value
All of the above
Q.9
Which of the following selector matches all elements of a type?
The Type Selector
The Universal Selector
The Descendant Selector
The Class Selector
Q.10
Which of the following selector matches a particular element only when it lies inside a particular element?
The Type Selector
The Universal Selector
The Descendant Selector
The Class Selector
Q.11
Which of the following selector selects all paragraph elements with a lang attribute?
p[lang]
p[lang="fr"]
p[lang~="fr"]
p[lang|="fr"]
Q.12
Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?
%
cm
em
ex
Q.13
Which of the following defines 1% of viewport height?
px
vh
vw
vmin
Q.14
What does HSL stands for?
Hue Specified Lightness
Hue Spot Lightness
Hue Saturation Lightness
None of the mentioned
Q.15
Which of the following is not an Absolute Unit?
px
em
pt
mm
Q.16
Which of the following unit represent the viewport’s width?
vh
vmin
vw
ch
Q.17
Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?
RGB Color
RGBa Color
HSL Color
HSLa Color
Q.18
Which of the following is not a attribute of the audio element?
controls
src
check
loop
Q.19
Which of the following property sets the amount of spacing between letters?
space
line-height
letter-spacing
none of the mentioned
Q.20
Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?
CurrentColor keyword
HSLa Color
HSL Color
RGB Color
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page