CSS QUIZ - BASIC

Take quiz based on CSS to test your CSS skill or level. This quiz questions are related to CSS structure or formats, CSS design, etc.

1. CSS stands for?

Casting style sheets
CSS style sheet
Cascading Style Sheets

2. Which CSS property is used to add space outside elements or borders

Margin
Padding
Outline

3. How can we add a line over a text in CSS?

Text-decoration:overline
Text-decoration:underline
Text-decoration: strikethrough

4. To add comments in CSS we use

//comment//
/*comment*/
/comment/

5. The HTML attribute used to define inline styles is?

Class
Styles
Style

6. The HTML tag used to define an internal style sheet is

<style>
<css>
<design>

7. To underline a text in HTML we use

<underline>
<u>
<un>

8. Which CSS property is used to remove underline from hyperlink?

Text-decoration
Decoration
Underline

9. The default position property is

Fixed
Sticky
Static

10. Which CSS property is used to add colors to backgrounds

Color
Background-color
Back-color

11. Where is the right place in HTML documents to link to an external CSS

In the &lt;body&gt; section
In the &lt;head&gt; section
In the <footer> section

12. How do you select element with ID name "demo"

.demo
#demo
*demo

13. Which CSS property is used to add transparency to background of element

Opacity
Background-reduce
Opaque

14. Which CSS property is used to add a color to text

Text-color
Color
Bg-color

15. Which one is the correct CSS syntax

H6:color:red
H6{color=red}
H6{color:red}