
HTML Basics Quiz
Authored by dcsgs sdfdg
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `
` tag in HTML?To define the visible content of the page.
To define the title and metadata of the document.
To include external content.
To specify background settings.
Answer explanation
The `
` tag in HTML is used to define the title and metadata of the document, which includes information like the document's character set, styles, and scripts. This is essential for SEO and proper rendering.2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to create a paragraph in HTML?
<PR>
`
<P>
<br>
<b>
Answer explanation
The `
` tag is used to create a paragraph in HTML. It defines a block of text, making it the correct choice among the options provided. The other tags do not serve this purpose.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML tag is used to create an ordered list?
<li>
<l>
<OL>
<UL>
Answer explanation
The `
- ` tag is used to create an ordered list in HTML, which displays items in a numbered format. The `
- ` is used for list items, and `
- ` is for description lists.
- ` tag creates an unordered list, while `
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default size of a heading (h1) in HTML?
10px
12px
Largest font size
20px
Answer explanation
In HTML, the
tag is designed to be the largest heading size by default, making it the largest font size among heading elements. Therefore, the correct answer is 'Largestfontsize'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to create a line break?
<BR>
<LB>
<LR>
<LINE BREAK>
Answer explanation
The correct tag to create a line break in HTML is `
`. The `
` is used for horizontal rules, not line breaks.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the `
` tag in HTML?
To create horizontal lines
To create line breaks
To insert comments
To separate paragraphs
Answer explanation
The `
` tag in HTML is used to create horizontal lines, serving as a visual separator in content. This makes 'To create horizontal lines' the correct choice, as it directly describes the tag's primary function.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to comment out code in HTML?
<!-- This is a single-line comment -->
//comment
<-- This is a single-line comment -->
#comment
Answer explanation
The correct tag to comment out code in HTML is ``. Other options like //comment, /comment/, and comment are not valid HTML comment syntax.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
54 questions
Programming Concepts
Quiz
•
9th - 12th Grade
50 questions
J277 Data Representation MCQs
Quiz
•
12th Grade
50 questions
Asas Sains Komputer Tingkatan 3
Quiz
•
9th - 12th Grade
50 questions
CUỘC CHIẾN KHỞI ĐẦU 12345
Quiz
•
9th - 12th Grade
50 questions
XII-AdminInfJar - Firewall
Quiz
•
12th Grade
50 questions
AI, Machine Learning, and Neural Networks
Quiz
•
9th - 12th Grade
50 questions
First Quarter Exam in T.L.E. 7- ICT
Quiz
•
7th Grade - University
50 questions
Excel - Hàm
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade