focus
hover
active
checked
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
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
ID selector
Class selector
Group selector
Universal selector
It consists of Margin, Padding, Border, Content
It consists of Padding, Border, Shadow
It consists of Content, Outline, Shadow
It consists of Border, Margin, Shadow
list-style-type: none;
text-decoration: none;
bullet-style: none;
display: no-bullet;
CSS
jQuery
JavaScript
PHP
Opacity
Visibility
Stacking order
Font size
style:bold;
font:bold;
font-weight:bold;
text:bold;
.example
#example
element.example
example
text-decoration: bold
font-weight : bold
font-style: bold
text-align: bold
bright
hidden
ridge
groove
css
style
script
link
Padding is used to create space around an element's content, inside of any defined borders.
There are properties for setting the padding for each side of an element.
To shorten the code, it is possible to specify all the padding properties in one property.
All of the options
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
ul > li
ul li
ul + li
ul ~ li
:root
:nth-of-type(n)
:only-child
none of the mentioned
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
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
p{font-style: "Times New Roman";}
p{font-family:"Times New "roman",Times,serif;}
p{font-weight:"Times New Roman",Times,serif;}
None of these
font-weight
font-style
text-decoratio
text-weight
border-spacing
border-style
border-collapse
border-radius
f:
Font:
Font-family
Font:b
#classname
.classname
element.classname
*classname
tag
id
class
both class and tag
REL
URL
REV
all of these
100rem
100%
100vw
100em
article
html
div
font-size
text-size
text-style
The size of the text-shadow
he Y-coordinate of the text-shadow
The X-coordinate of the text-shadow
The blur radius
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
h1.hover
h1*hover
h1:hover
h1-hover
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
size
text-length
order
stack
z-index
layer
margin: 20px 20px 30px 30px
margin: 30px 20px
margin: 20px 30px
margin: 30px 30px 20px 20px
:checked
E~F
::after
None of the options
content p
p.content
.content > p
p .content
Documents to be viewed on-screen tend to look better in Sans-serif fonts
Not everyone has the same set of fonts.
Printed documents tend to look better in Serif fonts
h1 h2 h3
h1+h2+h3
h1,h2,h3
h1>h2>h3
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
rect
crosshair
auto
inherit
:focus
:active
:hover
:visited
:default
:%
:disabled
type
None of the above
input:checked
input:focus
input:hover
input:active
Easier to maintain and update.
Greater consistency in design.
More formatting options.
All of the above