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
EN
DE
RU
FR
ES
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
How do you inform the browser you are creating a styling section with an internal style sheet?
<style type="text/css"></style>
<style type="css"></style>
<class type="css"></class>
Next >
2/25
How to set a style for a certain HTML element with an id of "special"?
#special{ }
.special{ }
id.special{ }
element.id.special{ }
Next >
3/25
Which HTML attribute specifies an inline style sheet?
style
in-style
font
class
Next >
4/25
Which property controls the size of a text?
font-size
font-style
text-size
text-style
Next >
5/25
Which selector is used to specify a style for one unique element?
id
class
text
style
Next >
6/25
Which property is used to define the space between words?
space
word-spacing
word-space
Next >
7/25
Which CSS syntax is commonly used to center a website horizontally?
margin: 0 auto;
margin: auto 0;
site-align: center;
margin: center;
Next >
8/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 >
9/25
How do you select an element with a specific class in CSS?
#classname
.classname
class=classname
*classname
Next >
10/25
What does CSS stand for?
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
Creative Styling Sheets
Next >
11/25
How do you make each word in a text start with a capital letter?
text-transform: capitalize;
text-style: capital;
text-transform: uppercase;
font-variant: small-caps;
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 display hyperlinks without an underline?
text-decoration: no-underline;
text-decoration: none;
text-style: none;
underline: none;
Next >
14/25
Which CSS property controls the visibility of an element?
display
visibility
opacity
look
Next >
15/25
Which CSS property is used to change the text color of an element?
color
text-color
font-color
background-color
Next >
16/25
How do you select all <p> elements inside a <div> element?
div + p
div.p
div p
div > p
Next >
17/25
What does 'font-weight' control in CSS?
The size of the font
The spacing between characters
The boldness of the font
The height of the font
Next >
18/25
Which HTML tag is used for creating an ordered list?
<ul>
<ol>
<li>
<dl>
Next >
19/25
In CSS, what does 'vh' unit stand for?
Viewport height
Vertical height
Viewport width
Virtual height
Next >
20/25
What is the default display value for a <div> element in HTML?
inline
block
flex
inline-block
Next >
21/25
Which attribute in HTML5 is used to specify that an input field must be filled out before submitting a form?
validate
required
mandatory
important
Next >
22/25
What does the 'box-sizing' property in CSS do?
Controls the text wrapping in a box
Changes the border thickness of a box
Alters the background color of a box
Dictates how the dimensions of a box are calculated
Next >
23/25
Which CSS property is used to create a shadow behind an element?
box-shadow
border-shadow
element-shadow
shadow-effect
Next >
24/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 >
25/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 >
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.