Assume you have two files for your website, and these files exist in the same folder:
home.html
style.css
Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?
Advanced HTML/CSS review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Thelesa Williams
Used 89+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume you have two files for your website, and these files exist in the same folder:
home.html
style.css
Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?
Inside home.html:
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
Inside home.html:
<head>
<style href="style.css"> </style>
</head>
Inside style.css:
<html href="home.html">
Inside style.css:
applyTo {
href: home.html; }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume you have two files for your website, and these files exist in the same folder:
index.html
about.html
Which of the following is the proper way to link to the about.html page from the index.html page?
<a href="about>About This Site</a>
<a href="/about.html">About This Site</a>
<a href="about.html">About This Site</a>
<a href="/about">About This Site
3.
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 that may contain video or other media
4.
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
5.
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 ="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>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between <span> and <div>?
<span> is better for styling images, while <div> is better for styling specific text in the page
<span> is for styling multiple elements, while <div> is for styling single elements at a time
<span> is used to style inline elements such as a text in a paragraph, while <div> used to group elements together and creates a line break
<span> is used to style elements, while <div> is used to embed parts of other websites
7.
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;
}
23 questions
Web Design Part 2
Quiz
•
9th - 12th Grade
26 questions
html
Quiz
•
KG - 12th Grade
25 questions
CSS
Quiz
•
9th Grade - University
25 questions
HTML and CSS
Quiz
•
9th - 12th Grade
25 questions
HTML, CSS & JS
Quiz
•
11th - 12th Grade
25 questions
HTML
Quiz
•
9th - 12th Grade
23 questions
WEB: Guess the CSS!
Quiz
•
9th Grade
23 questions
HTML and CSS Review One
Quiz
•
7th Grade - University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade