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.
23 questions
Etiquetas HTML
Quiz
•
9th Grade - University
20 questions
Evaluación tercero básico
Quiz
•
9th Grade
20 questions
ICT Quiz Bee (Difficult Round)
Quiz
•
7th - 10th Grade
20 questions
HTML Review
Quiz
•
9th Grade
20 questions
KIỂU XÂU
Quiz
•
11th Grade
20 questions
Ch. 3 Review - HTML
Quiz
•
9th - 12th Grade
20 questions
HTML
Quiz
•
10th Grade
25 questions
PWPB UH 2
Quiz
•
11th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University