E.class
E~F
*
E,F,G
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
list-style-type: none;
text-decoration: none;
bullet-style: none;
display: no-bullet;
Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
style:bold;
font:bold;
font-weight:bold;
text:bold;
flex-order
order
flex-direction
item-order
What will happen in the following case ?
h1 {color: red text-decoration: underline; font-style: italic;}
color: red, text-decoration: underline and font-style: italic all works
text-decoration: underline and font-style: italic works
color red, text-decoration: underline works
only font-style: italic works
ul > li
ul li
ul + li
ul ~ li
input:checked
input:focus
input:hover
input:active
class
id
article
html
100rem
100%
100vw
100em
tag
div
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
Opacity
Visibility
Stacking order
Font size
both class and tag
text-color
color
font-color
All of These
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
focus
hover
active
checked
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.
absolute
static
fixed
relative
font-weight
font-style
text-decoratio
text-weight
:root
:nth-of-type(n)
:only-child
none of the mentioned
font-size
text-size
text-style
padding: 20px 30px 15px 10px
padding: 20px 15px 30px 10px
padding: 15px 30px 10px 20px
padding: 30px 15px 20px 10px
Apply styles for the web page
Define structure of the web page
Provide meaning to the sections of the web page
None of the above
.example
#example
element.example
example
type
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
content p
p.content
.content > p
p .content
mouse over
mouse hover
mouse move
margin: 20px 20px 30px 30px
margin: 30px 20px
margin: 20px 30px
margin: 30px 30px 20px 20px
Name
ID
Class
Tag
Easier to maintain and update.
More formatting options.
All of the above
REL
URL
REV
all of these
css
style
script
link
E#id
.class
#id
#classname
.classname
element.classname
*classname
:nth-child(last)
:last-child
:nth-last-child(1)
CSS
jQuery
JavaScript
PHP
h1.hover
h1*hover
h1:hover
h1-hover
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
Easier to maintain and update
Greater consistency in design
border-width
border-bottom
border-width-bottom
border-bottom-width
Match the CSS Position Property with Its Meaning
A → 5, B → 4, C → 3, D → 1
A → 2, B → 4, C → 3, D → 1
A → 5, B → 4, C → 3, D →6
A → 4, B → 5, C → 3, D → 1
:element
:empty
:enabled
None of these
:valid
:required
:optional
:invalid
size
text-length
f:
Font:
Font-family
Font:b
:default
:%
:disabled
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