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. The value of the xml:lang attribute should be an ________ country code.

ISO-638
ISO-639
ISO-640
ISO-641

2. Choose the correct option.

In HTML, rr,gg,bb of #rrggbb represents red, green and black color in hex values.
In HTML, rr,gg,bb of #rrggbb represents red, grey and black color in hex values.
In HTML, rr,gg,bb of #rrggbb represents red, grey and blue color in hex values.
In HTML, rr,gg,bb of #rrggbb represents red, green and blue color in hex values.

3. Web performance optimization improves?

frontend
backend
database
ux

4. Which of the following is not correct with reference to HTML?

DOCTYPE refers to document type.
DOCTYPE is not case sensitive.
DOCTYPE is used only once at the start of the document.
None of the above

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

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

6. Which one of the following is a form element?

text box.
radio button.
submit button.
All of these.

7. Which of the following is correct regarding s parameter in hsl in HTML?

s stands for saturation.
s determines the intensity of the color
None of a and b is correct.
Both a and b are correct.

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

th
td
ts
tr

9. Interpreter receives the information from the controller and execute the instruction line by line.

Yes
No
Can be yes or no
Can not say

10. 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>

<td>9876543210</td>
</tr>
</body>
</html>

Name	Phone no
John	9898989898	9876543210

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

Results