CSS Selectors
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 is selector in the code below? p{font-size:10px;}
A
p
B
p{font-size:10px;}
C
font-size:10px;
D
font-size;
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is a CSS rule in the code below? p{padding:10px;}
A
p{padding:10px;}
B
p
C
padding:10px;
D
{padding:10px;}
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is CSS declaration in the code below? p{margin-left:40px;}
A
margin-left:40px;
B
p{margin-left:40px;}
C
margin-left
D
40px;
Note:
Not available
Show answer
Show Note
Report
Question:
HTML tags to build a tree-like outline of the page's structure which is refers to
A
BOM
B
DOM
C
HTML
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
DOCTYPE is required because
A
it ensure that the browser renders your styles correctly.
B
it ensure that the correct browser is loading page.
C
it just ensure the version of the HTML
D
none
Note:
Not available
Show answer
Show Note
Report
Question:
DOM structure is resemble to
A
family tree
B
binary tree
C
structure chart
D
all
Note:
Not available
Show answer
Show Note
Report
Question:
CSS2.1 specification defines
A
22 selectors
B
20 selectors
C
more than 50 selectors
D
21 selectors
Note:
Not available
Show answer
Show Note
Report
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
First
Prev
1
2
3
Next
Last
/3
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd