CSS
Test
Model Test
Ebook
Quiz 1: Test on Basic CSS3
Quiz 2: Test on CSS3 selector
Quiz 3: Test on CSS3 Color, Unit and Value
Quiz 4: CSS Test on Formating Text
Quiz 5: Test on CSS3 Box-Model
Quiz 6: CSS3 Model Test one
Quiz 7: CSS3 Model Test Two
Index
CSS Home
CSS Basic
37
CSS Backgrounds
3
CSS Text Effects
26
CSS Layouts
5
CSS Colors
10
CSS Fonts
15
CSS Media Queries
1
CSS Selectors
30
CSS Cross-Browser
5
CSS Values an Units
20
CSS Box Model
13
CSS User Interface
1
Schools
Ebook
Question:
Which of the following CSS rules using type selector?
A
*{margin:0px;}
B
p{margin:0px;}
C
.type{margin:0px;}
D
#type{margin:0px;}
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following CSS rule uses descendant selector?
A
p strong{color:gray;}
B
p{color:gray;}
C
p.strong{color:gray;}
D
p#strong{color:gray;}
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following selectors matches elements of type "a" with the attribute href?
A
a[href]
B
a href
C
<a href>
D
a@href
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is a class selector?
A
.abc
B
abc
C
#abc
D
div
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is a id selector?
A
#someId
B
.someId
C
someId
D
a
Note:
Not available
Show answer
Show Note
Report
Question:
Which selector matches elements of type E where the value of the attr attribute is exactly "x"?
A
E[attr="x"]
B
E[attr^="x"]
C
E[attr$="x"]
D
E[attr]
Note:
Not available
Show answer
Show Note
Report
Question:
Which selector matches elements of type E where the value of the attr attribute begins with "x"?
A
E[attr="x"]
B
E[attr^="x"]
C
E[attr$="x"]
D
E[attr-"x"]
Note:
Not available
Show answer
Show Note
Report
Question:
In Pseudo-classes
A
applied automatically by the browser depending on the position of the element or its interactive state.
B
applied styles to content based on its position in the HTML hierarchy.
C
both
D
none
Note:
Not available
Show answer
Show Note
Report
Question:
How can you apply one or more CSS class selectors to an element?
.abc{ } .bca{ }
A
class="abc"
B
class="abc bca"
C
id="abc"
D
class=".abc"
E
style="abc"
F
class=".abc .bca"
Note:
Not available
Show answer
Show Note
Report
Question:
What of the following is correct priority order by browser when multiple CSS rules are conflicted with the identical selectors?
A
1. inline CSS 2. Internal CSS 3. External CSS
B
1. External CSS 2. Internal CSS 3. Inline CSS
C
1. inline CSS 2. External CSS 3. Internal CSS
D
1. inline CSS 2. External CSS 3. Internal CSS
Note:
Not available
Show answer
Show Note
Report
First
Prev
4
5
6
7
8
Next
Last
/17
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd