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. Below there is a HTML code.
Fill in the blanks in the above HTML code with a suitable option so as to get the list as follows when executed in a browser.

<!DOCTYPE html>
<html>
<body>
<ul _____________>
<li>
Physics
</li>
<li>
Chemistry
</li>
<li>
Mathematics
</li>
</ul>
</body>
</html>

style="list-style-type:square;"
style="list-type:square;"
style="type:square;"
style= "style:square;"

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

img
div
p
hr

3. Which attribute is used to create an item?

itemtype
itemid
itemprop
itemscope

4. Which of the following class Indicates a successful or positive action?

.active
.warning
.success
.danger

5. Which one of the following does not hold true regarding POST method in HTML?

Use of POST method in HTML is more secured.
Use of POST method enables us to bookmark the page.
POST has no size limitation.
None of these.

6. Choose the correct option.

Both HTML4 and HTML5 have local storage.
Both HTML4 and HTML5 do not have local storage.
Only HTML4 has local storage.
Only HTML5 has local storage.

7. What is the default value of target in <a> tag of HTML?

_self
_blank
_top
_parent

8. In HTML document, the part which is visible is between __________ and __________ tags.

<html> and </html>
<head> and </head>
<body> and </body>
<form> and </form>

9. Which one of the following does not hold true regarding GET method in HTML?

Use of GET method in HTML is more secured.
Use of GET method enables us to bookmark the page.
GET has size limitation.
None of the above

10. How the HEX value of color represented in HTML?

#rrggbb
#rrbbgg
#ggrrbb
#bbrrgg

Results