CSS

What is CSS stands for?
Cascading Style Sheets
Cascade Style Sheet
Color Style Sheets
Color Style Sheet
What CSS describes?
CSS describes how calculation perform on button click.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
Both A. and B.
None of the above
What is the correct syntax for referring an external CSS?
<link rel="stylesheet" type="text/css" href="mystyle.css">
<stylesheet rel="stylesheet" type="text/css" href="mystyle.css">
<style rel="stylesheet" type="text/css" href="mystyle.css">
All of the above
What is a CSS selector?
A CSS selector is the CSS class name
A CSS selector is name of CSS file.
A CSS selector is the first part of a CSS Rule. It may an HTML element or pattern of elements.
A CSS selector is the set of properties that are going to be applied on HTML elements
In a CSS file, there is a CSS rule for paragraphs tags – what does p can be called?
Selector
Attribute
Property
Tag
Internal styles are written within the _____ element.
<css>…</css>
<stylesheet>…</stylesheet>
Both of them
<style> ... </style>
 
Inline styles are written within the _____ attribute.
Style
Css
Stylesheet
Both of them
CSS comments are placed within the ______.
//
/* and */
<* and *>
<! and !>
Which property is used to define the text color?
Text-color
Color
Font-color
Both of them
Which property is used to define the background color?
Bgcolor
Bg-color
Background
Background-color
From the given options which is/are the valid way to represent a color?
A valid color name like "blue"
HEX code like "#0000ff"
RGB Value like "rgb(0,0,255)
All of the above
Which property is used to define the font of the element's text?
Font
Font-family
Font-style
All of the above
To make a text italic, which CSS property is used?
Font
Font-family
Font-style
All of the above
What are the valid values of font-style property?
Italic, bold, bolder
Normal, bold, italic
Underline, bold, italic
Inherit, italic, normal, oblique
Why font-weight property is used?
Sets how thick or thin characters in text should be displayed.
Sets the size of the font
Both A. and B.
None of the above
What is/are the correct value(s) of font-weight property?
Bold, italic, underline
Normal, bold, italic
Normal, bold, bolder, lighter, initial, and inherit
None of the above
Which is the correct inline CSS for p tag to define paragraph's text and background colors?
<p css="color: red; background-color: yellow;">
<p inline="color: red; background-color: yellow;">
<p cssstyle="color: red; background-color: yellow;">
<p style="color: red; background-color: yellow;">
What is the correct syntax of border property in CSS?
Border: border-width border-style border-color
Border: border-color border-width border-style
Border: border-style border-width border-color
All of the above
Which of the following is the correct syntax to display the hyperlinks without any underline?
A {text-decoration : underline;}
A {text-decoration : none;}
A {text-decoration : block;}
None of the above
Which of the following is the correct syntax to remove the underline on hyperlinks and visited hyperlinks?
A {text-decoration : underline;}, a:visited {text-decoration : underline;}
A {text-decoration : block;}, a:visited {text-decoration : block;}
A {text-decoration : none;}, a:visited {text-decoration : none;}
None of the above
Which CSS property is used to style the hyperlinks on hover (Mouse over)?
A:mouseover
A:move
A:mover
A:hover
If you want to use a green dotted border around an image, which CSS property is used for that?
Border-style
Border-color
Border-decoration
Both A. and B.
Which CSS property and value is used to center an element?
Text-align:center
Align:center
Text-align:middle
Align:middle
What are the valid values of text-align property?
Left, middle, right
Left, center, right
Left, center, right, justify
Left, middle, right, justify
What is the use of "text-align:justify" in CSS?
Stretches the lines so that each line has equal width
Stretches the lines so that each line can be arranged in left alignment
Stretches the lines so that each line can be arranged in right alignment
None of the above
Which CSS property is used to specify the indentation of the first line of a text?
Text-align
Padding-left
Margin-left
Text-indent
Which CSS property is used to specify the space between the characters in a text?
Text-space
Letter-space
Letter-spacing
Letter-distance
Which CSS property is used to specify the space between lines?
Line-space
Line-spacing
Line-padding
Line-height
Which CSS property is used to specify the space between the words in a text?
Word-spacing
Word-padding
Word-height
Characters-spacing
Which CSS property adds shadow to text?
Content-shadow
Text-shadow
Word-shadow
Text-outline
{"name":"CSS", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is CSS stands for?, What CSS describes?, What is the correct syntax for referring an external CSS?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.