HTML Quiz


Play this quiz that will help you to excel in HTML certification exams, placements etc. This HTML quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This HTML test enables you to assess your knowledge of HTML.

Take the Free Practice Test



HTML MCQs

Practice HTML MCQ Questions, which will help you to understand HTML related concepts and also helps you to prepare for web developer interviews and technical rounds.

HTML Quiz

Try Free HTML Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

HTML Quiz

1. Fill in the blanks with the help of options given below in order to get the following table when the below code is executed.

<!DOCTYPE html>
<html>
<body>
<table border="2">
<tr>
<th>Name</th>
<th>Phone no</th>
</tr>
<tr>
<td ______________>John</td>
<td>9898989898</td>
</tr>
<tr>
<td>9876543210</td>
</tr>
</body>
</html>

Name	Phone no
John	9898989898
 	9876543210

colspan= "1"
colspan= "2"
rowspan= "1"
rowspan= "2"

2. Which one of the following is the least significant heading tag?

<h1>
<h3>
<h5>
<h6>

3. HTML is a subset of

SGMD
SGML
SGMH
None of the above

4. Which one of the following is the most significant heading tag?

<h1>
<h3>
<h5>
<h6>

5. How the content of the following will be displayed when executed in browser?

<!DOCTYPE html>
<html>
<body>
<p>LetsFindCourse</p>
<p>Learning Made Easy!</p>
</body>
</html>

LetsFindCourseLearning Made Easy!
LetsFindCourse Learning Made Easy!
LetsFindCourse
Learning Made Easy!
<p>LetsFindCourse</p>
<p>Learning Made Easy!</p>

6. With respect to the HTML code given below, which line will have the highest font size?

<!DOCTYPE html>
<html>
<body>
<h1 style="font-size:15px;">Heading 1</h1>
<h3 style="font-size:30px;">Heading 3</h3>
<h5 style="font-size:20px;">Heading 5</h5>
</body>
</html>

Heading 1
Heading 3
Heading 5
All of the above

7. What color does 0% saturation give?

pure color.
white
shades of grey.
None of the above

8. Major portion of web page contributes _________________

image
text
video
audio

9. What will the browser display for the above HTML code?

<a href="home.php">Go to Home Page</a>

It will display the entire line as it is.
It will display- Go to Home Page
It will display- Go to Home Page(link)
First it will display home.php, and upon clicking it, it will display Go to Home Page.(link)

10. Choose the correct option.

HTML files should have an extension .html
HTML files should have an extension .htm
Both A and B
None of the above

Results