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. Choose the incorrect option.

radio button allows to choose only one option from the given options.
default option can be chosen using attribute "selected" in radio button
default option can be chosen using attribute "checked" in radio button
checkbox allows to choose one or more than one options from the given options.

2. How many major layouts for Bootstrap?

1
2
3
4

3. What does wrap attribute denote?

Whether the text is in bold
Whether the text is wrapped
Whether the text is in italics
Whether the text is highlighted

4. Which of the following HTML tag is used to create an unordered list?

ol
ul
sl
pl

5. .Fill in the blanks with a suitable option in order to number items of an ordered list with small roman numbers.

<!DOCTYPE html>
<html>
<body>
<ol _________>
<li>
Physics
</li>
<li>
Chemistry
</li>
<li>
Mathematics
</li>
</ol>
</body>
</html>

style= "type:i"
style= "list-style-type:i"
type= "i"
type= "small roman"

6. To clear a local storage setting you would need to call?

localStorage.clear() method
localStorage.remove() method
localStorage.remove('key') method
None of the above

7. Before HTML5 where data had to be stored?

cookies
browser
only in Internet Explorer
only in Chrome

8. _________ is an application software that allows us to view and explore information on the web.

HTML
web Browser
IDEs
Libraries

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

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

10. With respect to the HTML code given below, which line will have the highest font size?

<!DOCTYPE html>
<html>
<body>
<h1 style="font-size:15px;">Heading 1</h1>
<h3 style="font-size:30px;">Heading 3</h3>
<h5 style="font-size:20px;">Heading 5</h5>
</body>
</html>

Heading 1
Heading 3
Heading 5
All of the above

Results