Last HTML and CSS Quiz

Quiz
•
Information Technology (IT)
•
6th Grade
•
Hard
Muhammad Muhammad
Used 3+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML tag is used to define an internal style sheet?
<css>
<style>
<script>
<link>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct CSS property to make a text bold?
font-weight: bold;
text-style: bold;
font-bold: true;
bold: yes;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to apply a class in CSS?
#classname {}
.classname {}
classname {}
@classname {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default position property of an HTML element?
relative
absolute
static
fixed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In CSS, how do you select all <p> elements inside a <div>?
div p {}
div > p {}
div + p {}
div, p {}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to control the space between elements' borders and their content?
margin
padding
spacing
border-spacing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to include an external CSS file in an HTML document?
<link href="styles.css">
<style src="styles.css">
<css link="styles.css">
<link rel="stylesheet" href="styles.css">
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review

Quiz
•
6th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade
21 questions
Convert Fractions, Decimals, and Percents

Quiz
•
6th Grade