E ~ F
::after
:checked
None of these
E#id
.class
#id
*
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
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
to make that specific paragraph text color as blue
Error
nothing happen
clear
overflow
z-index
display
background:blue;
background-color:rgb(0,0,255);
background:#0000FF;
All of the above
style:bold;
font:bold;
font-weight:bold;
text:bold;
background-attachment
background
background-repeat
background-position
Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
Match the CSS Attribute Selector with Its Function
A → 2, B → 5, C → 3, D → 4
A → 2, B → 6, C → 3, D → 4
A → 5, B → 1, C → 3, D → 4
A → 2, B → 1, C → 3, D → 4
content p
p.content
.content > p
p .content
:valid
:required
:optional
:invalid
flex-order
order
flex-direction
item-order
:nth-child(last)
:last-child
:only-child
:nth-last-child(1)
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.
text-color
color
font-color
All of These
.example
#example
element.example
example
margin: 20px 20px 30px 30px
margin: 30px 20px
margin: 20px 30px
margin: 30px 30px 20px 20px
background-color
background or background-image both
h1.hover
h1*hover
h1:hover
h1-hover
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
class
id
type
REL
URL
REV
all of these
focus
hover
active
checked
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
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
absolute
static
fixed
relative
f:
Font:
Font-family
Font:b
css
style
script
link
:default
:%
:disabled
mouse over
mouse hover
mouse move
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
Style
article
html
100rem
100%
100vw
100em
Easier to maintain and update.
More formatting options.
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
<Link> tag
<Style> tag
<Script> tag
@media
bgcolor
bg-color
font-weight
font-style
text-decoratio
text-weight
rgba(255,55,255,1)
rgba(255,255,255,0.0)
rgba(255,55,255,.5)
Easier to maintain and update
Greater consistency in design
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
tag
div
Name
ID
Class
Tag
:target
:selection
::selection
URO
Match the CSS Property with Its Function
A → 1, B → 2, C → 3, D →4
A → 2, B → 4, C → 3, D → 1
A → 2, B → 4, C → 1, D → 3