What's wrong with the HTML code below?
<p>This is a paragraph in HTML</h1>
Q2 - WebDez_CertPrep
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Easy
Regina Parker
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's wrong with the HTML code below?
<p>This is a paragraph in HTML</h1>
The closing tag should be </p>
The closing tag should be <>
The opening tag should be <a>
The opening tag should be </p>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of metadata about a webpage?
The title of the webpage
An <img> tag on a webpage
The body of the webpage
A <p> tag on a webpage
Answer explanation
The title of the webpage is metadata because it provides information about the content of the page. In contrast, the tag, body, and
tag are part of the page's content, not metadata.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct HTML code that will make a hyperlink to google.com?
<a href="https://google.com"> Link </a>
<a ref=https://google.com>
<a>Link to google.com</a>
Click Me<a h="https://google.com">
Answer explanation
The correct choice is the first one. It properly uses the tag with the href attribute pointing to 'https://google.com', making it a valid hyperlink. The other options contain errors in syntax or structure.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following HTML code do? <img src="picture.jpg" style="width:200px; height:200px">
Adds an image to the webpage with a width of 200 pixels and height of 200 pixels
Makes a hyperlink to an image on the web
Uses an image as a hyperlink to another website
Adds an image to the webpage with a text description of the image dimensions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this HTML code? <img="picture.jpg" style="width:200px; height:200px">
The img tag needs a src attribute
There should be a closing tag </img>
You should not specify the style of an image element
It should use an <a> tag instead of <img>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What HTML code will produce the following content?
* Red
* Green
* Blue
<ul>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>
<ol>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ol>
<p>Red</p>
<p>Green</p>
<p>Blue</p>
Red <br> Green <br> Blue
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag defines a table header element in HTML?
<th>
<tr>
<table>
<li>
Answer explanation
The <th> tag is used to define a header cell in a table, making it the correct choice for a table header element in HTML. The other options serve different purposes: <tr> for table rows, <table> for the table itself, and <li> for list items.
20 questions
Ujian Akhir Pemrograman Web
Quiz
•
12th Grade
20 questions
HTML Review
Quiz
•
9th Grade
28 questions
PEMROGRAMAN DASAR
Quiz
•
9th - 12th Grade
20 questions
Web Development Quiz
Quiz
•
8th - 9th Grade
20 questions
Quiz #2-Programming
Quiz
•
11th Grade
20 questions
Q1 - PRE TEST KK2
Quiz
•
12th Grade
20 questions
Q1 - POST TEST KK2
Quiz
•
12th Grade
25 questions
PWPB Kelas XI
Quiz
•
11th Grade
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