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 color is #ff0000?

White
Black
Red
Blue

2. The lang attribute allows you to indicate the main language used in a document.

Yes
No
Can be yes or no
Can not say

3. Fluid layout is necessary for creating an app that is 100 % wider and covers all the screen width.

TRUE
FALSE
Can be true or false
Can not say

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

#rrggbb
#rrbbgg
#ggrrbb
#bbrrgg

5. 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)

6. In HTML, colors can be specified by-

RGB
RGBA
HEX
All of the above

7. User can request for any web page by just entering a _________ into address bar.

text
keyword
URL
All of the above

8. The _________ attribute allows you to indicate to the browser about the direction in which the text should flow. 

lang
xml:lang
both a and b
dir

9. meta support which global attributes?

accesskey
class
hidden
All of the above

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

th
td
ts
tr

Results