h1 h2 h3
h1+h2+h3
h1,h2,h3
h1>h2>h3
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.
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
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
E[attr^=value]
E[attr$=value]
E[attr*=value]
None of these
<link>
<style>
<script>
<css>
f-resize
move
ne-resize
se-resize
tag
id
class
both class and tag
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
:root
:nth-of-type(n)
:only-child
none of the mentioned
Easier to maintain and update.
Greater consistency in design.
More formatting options.
All of the above
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
:valid
:required
:optional
:invalid
Inline CSS
Internal CSS
Embedded CSS
External CSS
E#id
.class
#id
*
css
style
script
link
rgba(255,55,255,1)
rgba(255,255,255,0.0)
rgba(255,55,255,.5)
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 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
#classname
.classname
element.classname
*classname
list-image
bullet-image
list-style-image
image-style
text-color
color
font-color
All of These
border-spacing
border-style
border-collapse
border-radius
Cyan, Magenta, Yellow and Blue
Cyan, Magenta, Yellow and Key(Black)
Cyan, Magenta, Yellow and Khaki
The size of the text-shadow
he Y-coordinate of the text-shadow
The X-coordinate of the text-shadow
The blur radius
REL
URL
REV
all of these
color:red, text-decoration:underline works
only font-style:italic works
color:red, text-decoration:underline and font-style:italic all works
text-decoration:underline and font-style:italic works
:focus
:active
:hover
:visited
order
stack
z-index
layer
background-color
bgcolor
bg-color
ID selector
Class selector
Group selector
Universal selector
clear
overflow
display
<Link> tag
<Style> tag
<Script> tag
@media
to make that specific paragraph text color as blue
Error
nothing happen
Match the CSS Attribute Selector with Its Function
A → 2, B → 6, C → 3, D → 4
mouse over
mouse hover
hover
mouse move
div
:checked
E~F
::after
None of the options
Name
ID
Class
Tag
focus
active
checked
text-decoration: bold
font-weight : bold
font-style: bold
text-align: bold
[attr]
[attr=""]
[attr=*]
attr[ ]
:element
:empty
:enabled
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
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
input.required
input[required]
input(required)
input::required
absolute
static
fixed
relative
Tag > Class > ID
Class > Tag > ID
ID > Class > Tag
Universal > ID > Class
f:
Font:
Font-family
Font:b