h1.hover
h1 : hover
h1:hover
h1: hover
REL
URL
REV
all of these
:root
:nth-of-type(n)
:only-child
none of the mentioned
text-color
color
font-color
All of These
It defines a virtual box drawn around elements
Content of each element is surrounded by padding only
Content of each elemernt is surrounded by a border only
Content of each element is surrounded by a margin only
:valid
:required
:optional
:invalid
E ~ F
::after
:checked
None of these
background-attachment
background
background-repeat
background-position
E.class
E~F
*
E,F,G
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
Handheld
Braille
Arial
Print
It is a style class defined in CSS
gives the author access to content not specifically declared in the document
Pseudoclass is separated by an underscore from the name of the element
Pseudoclass are separated by a colon from the name of the elemernt
<Link> tag
<Style> tag
<Script> tag
@media
100rem
100%
100vw
100em
Yes
No
Cannot say
May be
content p
p.content
.content > p
p .content
font-weight
font-style
text-decoratio
text-weight
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
Apply only to specific element types defined in the style sheet
Define styles that can be applied to any element
Style-class declarations are preceded by an underscore
Style-class declarations are preceded by a period
E#id
.class
#id
text-first
text-indent
first-indent
text-first-indent
p{font-style: "Times New Roman";}
p{font-family:"Times New "roman",Times,serif;}
p{font-weight:"Times New Roman",Times,serif;}
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
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
The external CSS rule is applied
The inline style is applied
Both are ignored
The browser applies the styles randomly
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 rules
CSS rules
Sheet rules
Format rules
Name
ID
Class
Tag
Easier to maintain and update.
Greater consistency in design.
More formatting options.
All of the above
Cyan, Magenta, Yellow and Blue
Cyan, Magenta, Yellow and Key(Black)
Cyan, Magenta, Yellow and Khaki
rgba(255,55,255,1)
rgba(255,255,255,0.0)
rgba(255,55,255,.5)
input:checked
input:focus
input:hover
input:active
tag
id
class
both class and tag
background:blue;
background-color:rgb(0,0,255);
background:#0000FF;
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
to make that specific paragraph text color as blue
Error
nothing happen
None of the above
[attr]
[attr=""]
[attr=*]
attr[ ]
list-style-type: none;
text-decoration: none;
bullet-style: none;
display: no-bullet;
header
footer
nav
aside
:default
:%
:disabled
margin: 20px 20px 30px 30px
margin: 30px 20px
margin: 20px 30px
margin: 30px 30px 20px 20px
Common style sheet
Code style sheet
Cascading style sheet
Cascading sheet style
:target
:selection
::selection
URO
focus
hover
active
checked
. It allows a web designer and a content author to work in parallel
CSS is Cascading Style Sheet
Separate content from presentation
stablish visual layout of a Webpage
Markup the content of the webpage
<!-- Comment -->
// Comment
/* Comment */
# Comment
CSS
PHP
Javascript
HTML
It is a browser determined positioning
It uses the position property of CSS ,Used to define absolute positioning
It gives authors greater control on how elements are displayed
none of the above statements are Correct