Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
Exercises
HTML
JavaScript
Git
CSS
PHP
Courses
Quizzes
Snippets
Tools
General Tools
Password Generator
HTML Editor
HTML Encoder
Base 64
Code Diff
JSON Beautifier
CSS Beautifier
Markdown Convertor
Find the Closest Tailwind CSS Color
Phrase encrypt / decrypt
Browser Feature Detection
Number convertor
JTW Decoder
CSS Maker
CSS Maker
CSS Maker text shadow
CSS Maker Text Rotation
CSS Maker Out Line
CSS Maker RGB Shadow
CSS Maker Transform
CSS Maker Font Face
Color Tools
Color Picker
Colors CMYK
Colors HWB
Colors HSL
Color Hex
Color mixer
Color Converter
Colors RGB
Color Contrast Analyzer
Color Gradient
String Tools
String Length Calculator
MD5 Hash Generator
Sha256 Hash Generator
String Reverse
URL Encoder
URL Decoder
Base 64 Encoder
Base 64 Decoder
Extra Spaces Remover
String to Lowercase
String to Uppercase
Word Count Calculator
Empty Lines Remover
HTML Tags Remover
Binary to Hex
Hex to Binary
Rot13 Transform on a String
String to Binary
Duplicate Lines Remover
Change theme
Dark
Light
System
Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
How To
How To NodeJs
How To Linux
How To AngularJs
How To PHP
How To HTML
How To CSS
How To Symfony
How To Git
How To Apache
How To JavaScript
How To Java
How To Vue.js
How To Python
CSS Basics
1/25
Who is making the Web standards?
Mozilla
The World Wide Web Consortium
Microsoft
None of the above
Next >
2/25
Which property do you need to change the text color of an element?
color
text-color
font-color
fontcolor
Next >
3/25
Which selector is used to specify a style for one unique element?
id
class
text
style
Next >
4/25
Which selector do you need to define a style for multiple elements?
id
class
style
text
Next >
5/25
Which property is used to define the space between words?
space
word-spacing
word-space
Next >
6/25
How can you create a list displaying its items with squares?
type: square
list-style-type: square
style-list: square
list-type: square
Next >
7/25
How can you change an element's top padding?
padding-top
top-padding
top:padding
paddingtop
Next >
8/25
Which CSS syntax is commonly used to center a website horizontally?
margin: 0 auto;
margin: auto 0;
site-align: center;
margin: center;
Next >
9/25
What does the 'z-index' property in CSS control?
Opacity level of an element
Stacking order of elements
Zoom level of an element
Horizontal alignment of an element
Next >
10/25
How do you make a list not display bullet points?
list-style: no-bullet;
bullet-style: none;
list-style-type: none;
list-bullet: off;
Next >
11/25
Which property is used to set the background color of an element?
bgcolor
color
background-color
back-color
Next >
12/25
Which selector is used to specify a group of elements in CSS?
Id selector
Class selector
Tag selector
Group selector
Next >
13/25
How do you select elements with a specific attribute in CSS?
[attribute=value]
.attribute=value
#attribute=value
attribute=value
Next >
14/25
What is the default value of the position property?
relative
fixed
static
absolute
Next >
15/25
How do you select all <p> elements inside a <div> element?
div + p
div.p
div p
div > p
Next >
16/25
How can you create rounded corners using CSS?
corner: rounded;
border-radius: 5px;
border-corner: round;
edge-round: 5px;
Next >
17/25
How do you insert a comment in a CSS file?
// this is a comment
/* this is a comment */
<!-- this is a comment -->
# this is a comment
Next >
18/25
In CSS, what does 'vh' unit stand for?
Viewport height
Vertical height
Viewport width
Virtual height
Next >
19/25
Which CSS property is used to change text color?
font-color
text-color
color
background-color
Next >
20/25
Which CSS property is used to create a shadow behind an element?
box-shadow
border-shadow
element-shadow
shadow-effect
Next >
21/25
How can you apply a CSS style to a specific element with the id 'banner'?
banner { ... }
#banner { ... }
.banner { ... }
element#banner { ... }
Next >
22/25
What is the purpose of the 'display' property in CSS?
Controls the type of rendering box used for an element
Sets the color of an element
Defines the border style of an element
Manages the visibility of an element
Next >
23/25
Which HTML tag is used to define an internal style sheet?
<style>
<css>
<script>
<link>
Next >
24/25
In CSS, what is the difference between the ':hover' and ':active' pseudo-classes?
':hover' applies when mousing over, ':active' when the element is clicked
':hover' changes text color, ':active' changes background color
':hover' is for links only, ':active' for buttons
No difference, they are interchangeable
Next >
25/25
In CSS, which property is used to set the transparency of an element?
transparency
opacity
alpha
filter
Next >
To get the result of the quiz, please provide your email address (optional)..
Get Certificate
It seems you haven't answered any questions yet. Please provide your answers to proceed.