0% found this document useful (0 votes)
5 views2 pages

CSS Property and Selector Quiz

Uploaded by

mohitsharma77103
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

CSS Property and Selector Quiz

Uploaded by

mohitsharma77103
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

questions

question
What does CSS stand for?
Which CSS property is used to change the background color of an element?
Which CSS property is used to change the font of an element?
In CSS, which selector selects all elements with a specific class?
Which CSS property is used to add spacing between letters in a text?
In CSS, which value is used to make an element's position stay fixed even when the page is scrolled?
Which CSS property is used to change the space between lines of text?
In CSS, which selector selects elements with a specific ID?
Which CSS property is used to change the size of an element's border radius?
In CSS, which value is used to specify that an element should not be displayed?
Which CSS property is used to change the style of an element's border?
In CSS, which value is used to make an element's position be relative to its normal position?
Which CSS property is used to change the color of an element's text?
In CSS, which selector selects all elements?
Which CSS property is used to change the size of an element's border?
In CSS, which value is used to specify that an element should be positioned relative to the browser window?
Which CSS property is used to change the alignment of text within an element?
In CSS, which value is used to specify that an element should use the default positioning?
Which CSS property is used to change the spacing between words in a text?
In CSS, which selector selects elements that are descendants of a specified element?
Which CSS property is used to change the position of an element within its containing element?
In CSS, which value is used to specify that an element should be positioned based on its normal position in the flow?
Which CSS property is used to change the size of an element's font?
In CSS, which selector selects elements that are directly after a specified element?
Which CSS property is used to change the alignment of an element's content within its container?
In CSS, which value is used to specify that an element should not be displayed?
Which CSS property is used to change the appearance of an element's mouse cursor?
In CSS, which selector selects elements that have a specified attribute with a value containing a specific word?
Which CSS property is used to change the appearance of an element's mouse pointer when it is over a clickable element?
In CSS, which selector selects elements that are immediately preceded by a specified element?
Which CSS property is used to change the appearance of an element's mouse pointer when it is over a clickable element?
In CSS, which selector selects elements that have a specified attribute with a value that begins with a specific string?
Which CSS property is used to change the appearance of an element's mouse pointer when it is over a clickable element?
In CSS, which selector selects elements that are descendants of a specified element?
Which CSS property is used to change the appearance of an element's mouse pointer when it is clicked on a clickable elemen
In CSS, which selector selects elements that are immediately preceded by a specified element?
Which CSS property is used to change the appearance of an element's mouse pointer when it is clicked on a clickable elemen
In CSS, which selector selects elements that have a specified attribute with a value ending with a specific string?
Which CSS property is used to change the appearance of an element's mouse pointer when it is clicked on a clickable elemen
In CSS, which selector selects elements that have a specified attribute with a value ending with a specific string?
Which CSS property is used to change the appearance of an element's mouse pointer when it is clicked on a clickable elemen
In CSS, which selector selects elements that have a specified attribute with a value containing a specific word?
Which CSS property is used to change the appearance of an element's mouse pointer when it is clicked on a clickable elemen
tions
options
answer
A B C D
Computer Style Sheets Creative Style Sheets Cascading Style Sheets Colorful Style Sheets C
color background-color bgcolor background B
font-family text-font font-style font A
# . * $ B
letter-spacing word-spacing text-spacing line-spacing A
relative static fixed absolute C
line-height text-height line-spacing spacing A
# . * $ A
border-radius border-width border-size radius A
hidden none invisible display:none B
border-color border-style border style B
fixed absolute relative static C
color text-color font-color text A
# . * $ C
border-size border-width size border B
absolute fixed relative static B
alignment text-align text-style align B
static relative default normal A
word-spacing letter-spacing text-spacing line-spacing A
> + ~ D
position top left placement A
fixed relative absolute static D
font-size text-size size font A
> + ~ B
text-align content-align alignment align A
visible none hidden display:none C
cursor mouse-cursor pointer pointer-style A
^= $= *= ~= C
mouse-pointer cursor pointer hover B
> + ~ B
hover-pointer cursor hover-cursor pointer B
^= $= *= ~= A
click-pointer cursor pointer hover B
> + ~ D
click-pointer cursor pointer click B
> + ~ B
click-pointer cursor click pointer B
^= $= *= ~= B
click-pointer cursor click pointer B
^= $= *= ~= B
click-pointer cursor click pointer B
^= $= *= ~= C
click-pointer cursor click pointer B

You might also like