( Best 500+ ) HTML MCQ question and Answers

by Mr. DJ

HTML MCQ question and Answers

What HTML means?
HyperText Markup Language
HyperText Markup Language (HTML) is the set of markup symbols or codes inserted into a file intended for display on the Internet. The markup tells web browsers how to display a web page’s words and images.
HTML MCQ question and Answers


11. Choose the correct HTML tag to make a text italic

a. <ii>
b. <italics>
c. <italic>
d. <i>
Answer:-d


12. Choose the correct HTML tag to make a text bold?

a. <b>
b. <bold>
c. <bb>
d. <bld>
Answer:-a


13. What is the correct HTML for adding a background color?

a. <body color=”yellow”>
b. <body bgcolor=”yellow”>
c. <background>yellow</background>
d. <body background=”yellow”>
Answer:-b


14. Choose the correct HTML tag for the smallest size heading?

a. <heading>
b. <h6>
c. <h1>
d. <head>
Answer:-b


15. What is the correct HTML tag for inserting a line break?

a. <br>
b. <lb>
c. <break>
d. <newline>
Answer:-a


16. What does
vlink attribute mean?
a. visited link
b. virtual link
c. very good link
d. active link

Answer:-a

17. Which attribute is used to name an element uniquely?
a. class
b. id
c. dot
d. all of above

Answer:-b

18. Which tag creates a check box for a form in HTML?
a. <checkbox>
b. <input type=”checkbox”>
c. <input=checkbox>
d. <input checkbox>

Answer:-b

19. To create a combo box (drop down box) which tag will you use?

a. <select>
b. <list>
c. <input type=”dropdown”>
d. all of above

Answer:-a

20. Which of the following is not a pair tag?

a. <p>
b. < u >
c. <i>
d. <img>

Answer:-d

You may also like

Leave a Comment