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. In order to add space of 20px between cell content and its border of a table in html, which one of the following option is appropriate?

th,td{ padding: 20px;}
table{ margin:20px; }
table{ border : 20px;}
table{ padding: 20px; }

2. Which one of the following is a type of lists that HTML supports?

Ordered lists.
Unordered lists.
Description lists.
All of the above

3. Choose the correct option.

In HEX color representation of HTML, #0f0 and #00ff00 represents same color.
In HEX color representation of HTML, color cannot be represented as #0f0.
In HEX color representation of HTML, color can be represented as #0f0 but it is not the same as #00ff00.
None of the above

4. Which of the following HTML tag is used to add a row in a table?

th
td
ts
tr

5. Which of the following class can be used to create a responsive table?

responsive
table-responsive
active
table

6. _______ tag is an example of the empty element.

img
div
p
hr

7. Which of the following is an inline element?

<p>
<h1>
<div>
<s>

8. What color does 100% saturation give?

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

9. Which one of the following can be used to define the spacing between the cells of a table?

border-spacing
spacing
cell-spacing
table-spacing

10. What is the total number of colors that can be represented using HEX system in HTML?

16^3
16^6
2^6
2^16

Results