HTML &CSS

Quiz
•
Computers
•
Professional Development
•
Medium

Elisheva Vakrat
Used 8+ times
FREE Resource
54 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are IFrames?
Buttons that link to other websites
Videos uploaded to your website
The number of views your website has
HTML pages embedded inside of other HTML pages
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the div tag?
To define a section of an HTML page
To group a block of elements together to format them with CSS
To efficiently apply the same style to several different elements
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly uses div to style multiple elements the same way?
<div class="intro">
<h2>Welcome</h2>
<p>Hi, welcome to my page.</p>
</div>
<div>
<h2 class="intro">Welcome</h2>
<p class="intro">Hi, welcome to my page.</p>
</div>
<div>
.intro{
font-size: 16px;
font-style: italic;
}
<h2>Welcome</h2>
<p>Hi, welcome to my page.</p>
</div>
<h2 div class="intro">Welcome</h2>
<p div class="intro">Hi, welcome to my page.</p>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between <span> and <div>?
<span> is better for styling text, while <div> is better for styling images
<span> is for styling multiple elements, while <div> is for styling single elements at a time
<span> is used to group and style inline elements, while <div> creates a line break
<span> is used to style elements, while <div> is used to embed parts of other websites
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following selects all p tags with the class alert and makes them red?
p.alert {
color: red;
}
p {
.alert {
color:red;
}
}
.alert p{
color: red;
}
p alert{
color: red;
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the reasoning behind the Don’t Repeat Yourself principle?
It helps you stay under the HTML file character limit
Repeated code makes it harder to read and edit
HTML files with repeated code will take a very long time to load
It makes a more clean and organized website for the user
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a property that can hide the visibility of an element?
opacity
hidden
visibility
display
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
pppk peranata

Quiz
•
Professional Development
50 questions
Developer Cert practice exam #2

Quiz
•
Professional Development
50 questions
1.3. THNC

Quiz
•
Professional Development
50 questions
Networking Quiz _ 1

Quiz
•
Professional Development
50 questions
1102 Quiz 4

Quiz
•
Professional Development
49 questions
PHP Basics Quiz

Quiz
•
Professional Development
50 questions
selenium mock test - 02/05/19 - 10:45

Quiz
•
University - Professi...
50 questions
DG Muda (2)

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade