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
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
Which HTML tag specifies an internal style sheet?
<css>
<script>
<style>
Next >
3/25
How to remove the underline from hyperlinks using CSS?
a {underline:none}
a {decoration:no underline}
a {text-decoration:no underline}
a {text-decoration:none}
Next >
4/25
How can you add an external style sheet in HTML?
<link rel="stylesheet" type="text/css" href="mystyle.css">
<style src="mystyle.css" />
<stylesheet>mystyle.css</stylesheet >
Next >
5/25
Which property do you need to change the background color?
bgcolor
color
background-color
colorbg
Next >
6/25
How can you add a comment in a CSS file?
/* this is a comment */
// this is a comment
// this is a comment //
<!-- this is a comment -->
Next >
7/25
Which property is used to define the space between words?
space
word-spacing
word-space
Next >
8/25
Which is the correct CSS syntax?
a {font-weight: bold; }
{a:font-weight: bold; }
a {font:weight: bold }
a :font:weight = bold;
Next >
9/25
Which property helps to control the text size?
text-height
font-size
text-style
text-size
Next >
10/25
How to make each word of the text start with a capital letter?
text-transform:uppercase
text-transform:capitalize
text-transform:lowercase
Can't do that with CSS
Next >
11/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 >
12/25
Which CSS property controls the text size?
text-size
font-size
font-weight
text-style
Next >
13/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 >
14/25
How do you select elements with a specific attribute in CSS?
[attribute=value]
.attribute=value
#attribute=value
attribute=value
Next >
15/25
What is the default value of the position property?
relative
fixed
static
absolute
Next >
16/25
How do you apply a style for all h1 elements inside a div?
div + h1 {...}
div > h1 {...}
div.h1 {...}
div, h1 {...}
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
Which HTML tag is used for creating an ordered list?
<ul>
<ol>
<li>
<dl>
Next >
19/25
What is the purpose of the 'alt' attribute in HTML?
To provide an alternative text for an image
To change the appearance of text
To link to another document
To specify a secondary src for an image
Next >
20/25
Which CSS property is used to change text color?
font-color
text-color
color
background-color
Next >
21/25
Which HTML element is used to specify a footer for a document or section?
<bottom>
<footer>
<section>
<end>
Next >
22/25
Which CSS property is used to specify the spacing between characters?
spacing
letter-spacing
character-spacing
text-spacing
Next >
23/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 >
24/25
Which HTML tag is used to define an internal style sheet?
<style>
<css>
<script>
<link>
Next >
25/25
What does the CSS 'overflow' property do?
Specifies what happens if content overflows an element's box
Controls the scroll behavior of an element
Sets the direction of text overflow
Manages the overflow of colors in an element
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.