Loading...

Go Back

Next page
Go Back Course Outline

CSS Full Course


Quiz

CSS Quiz

background-color: #ffffff;
background: #ffffff;
color: #ffffff;
p {}
.p {}
#p {}
Controls the visibility of elements
Controls the stacking order of elements
Controls the size of an element
font-family
font-style
font-size
/* This is a comment */
// This is a comment

text-color: red;
color: red;
font-color: red;
height
width
size
list-style: horizontal;
list-display: inline;
display: inline;
word-spacing
letter-spacing
text-align
absolute
relative
static
.class {}
#class {}
class {}
visibility: hidden;
display: none;
Both A and B
Makes an element float left or right
Changes the position of an element
Resizes the element
padding
margin
border-spacing
font-size
font-weight
font-family
margin: auto;
text-align: center;
display: center;
font-weight: bold;
font-style: bold;
text-weight: bold;
background-image: url('image.jpg');
background: url('image.jpg');
Both A and B
It makes elements align in a column
It displays elements in a flexible box
It sets elements to display inline
line-height
text-spacing
letter-spacing
height
width
size
<link rel="stylesheet" href="styles.css">
<style src="styles.css"></style>
<css src="styles.css"></css>
padding
margin
border
visibility: hidden;
display: none;
opacity: 0;
border-radius
corner-radius
border-round
Adds shadow to the text
Adds shadow to an element
Creates a glowing effect
Using media queries
Using flexbox
Both A and B
Collapses the borders of adjacent table cells
Sets borders to be invisible
Adds spacing between borders
display
visibility
opacity
.id {}
#id {}
id {}
Go Back

Next page