Style
type
class
None of the above
mouse over
mouse hover
hover
mouse move
Match the CSS Sub-Selector with Its Meaning
A → 2, B → 1, C → 3, D → 6
A → 2, B → 1, C → 3, D → 4
A → 2, B → 5, C → 3, D → 4
A → 5, B → 1, C → 3, D → 4
.example
#example
element.example
example
padding: 20px 30px 15px 10px
padding: 20px 15px 30px 10px
padding: 15px 30px 10px 20px
padding: 30px 15px 20px 10px
It is a separate document that contains CSS rules
It separates content from the presentation but both are still contained in a single file
It separates the content and style into separate files
. It allows a web designer and a content author to work in parallel
font-size
text-size
font-style
text-style
content p
p.content
.content > p
p .content
f:
Font:
Font-family
Font:b
Removes the element from the document flow
Positions the element relative to its normal position
Centers the element on the page
Applies relative positioning to all child elements
:valid
:required
:optional
:invalid
<Link> tag
<Style> tag
<Script> tag
@media
Match the CSS User Action Pseudo-Class with Its Effect
A → 4, B → 3, C → 2, D → 1
A →5, B → 4, C → 3, D → 2
A → 6, B → 2, C → 3, D → 4
A → 5, B → 2, C → 3, D → 6
input:checked
input:focus
input:hover
input:active
rgba(255,55,255,1)
rgba(255,255,255,0.0)
rgba(255,55,255,.5)
None of these
Match the CSS Selector with Its Description
A →1, B →5, C → 3, D → 4
A → 2, B → 3, C → 1, D → 4
A → 2, B → 6, C → 4, D → 3
A → 5, B → 3, C → 2, D → 4
text-color
color
font-color
All of These
Vaiue
Declaration
Selector
Rule
tag
id
div
Easier to maintain and update.
Greater consistency in design.
More formatting options.
All of the above
border-width
border-bottom
border-width-bottom
border-bottom-width
focus
active
checked
css
style
script
link
Opacity
Visibility
Stacking order
Font size
Name
ID
Class
Tag
both class and tag
E#id
.class
#id
*
:default
:%
:disabled
:element
:empty
:enabled
:target
:selection
::selection
URO
Apply styles for the web page
Define structure of the web page
Provide meaning to the sections of the web page
Match the CSS Attribute Selector with Its Function
A → 2, B → 6, C → 3, D → 4
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
Rich Decorations
Faster download times.
No need to write HTML Tags
background
background-attachment
background-color
background or background-image both
CSS
jQuery
JavaScript
PHP
Style sheets allow content to be optimized for more than one type of device.
CSS can store web applications locally With the help of an offline cache
Using CSS, we can view online website. In cache also ensures faster loading and better overall performance of the website.
All of the above.
background-repeat
background-position
Match the CSS Background Property with Its Function
A → 3, B → 1, C → 2, D → 4
A →5, B → 1, C → 2, D →6
A → 4, B → 1, C → 2, D → 3
A → 6, B → 1, C → 2, D → 3
:nth-child(last)
:last-child
:only-child
:nth-last-child(1)
<!-- Comment -->
// Comment
/* Comment */
# Comment
absolute
static
fixed
relative
bgcolor
bg-color
E ~ F
::after
:checked
flex-order
order
flex-direction
item-order
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
article
html
Selects all elements
Selects all siblings after a specified element
Selects only the first sibling of a specified element
Selects only the last sibling of a specified element
Selects the first child of an element
Selects all sibling elements
Selects the immediately next sibling of an element
Selects the parent of an element
size
text-length