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. Which of the following color codes of HTML represent the same color?
(i) #00ff00
(ii) hsl(120,100%,50%)
(iii) rgb(255,99,71)

All three.
i and ii
i and iii
ii and ii

2. Choose the incorrect option.

action attribute is used inside starting tag of form.
With the use of action, we can redirect to a page once submit button is clicked.
<form action:"home.php"> redirects to the page home.php
None of the above

3. Which one of the following is not correct regarding l parameter of hsl in HTML?

value of l is used determining the lightness of the color
0% means completely dark and 100% means completely light.
for getting original color, it should be set to 100%
None of the above

4. Which of the following is equivqlent to rgb(255,99,71)?

#ff9971
#ffaa71
#ff6347
#ffa6c8

5. What is the default start of item marker in ordered list?

1
i
I
None of the above

6. Metadata does not define _________

character set
links
scripts
color

7. Choose the correct option.

In rgba, a stands for alpha.
Its value ranges from 0 to 1.
Both a and b are correct.
None of the above

8. meta support which global attributes?

accesskey
class
hidden
All of the above

9. You can use ___________ tag to put any content in the center of the page or any table cell.

title
head
center
meta

10. Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element?

The value is the value of the element’s value attribute if it has one, or the empty string otherwise
The value is the item created by the element
The value is the element’s datetime value
The value is item’s scope

Results