HTML MCQ
HTML MCQ
1. What is HTML?
a) HTML describes the structure of a webpage
b) HTML is the standard markup language mainly used to create web pages
c) HTML consists of a set of elements that helps the browser how to view the content
d) All of the mentioned
---------------------------------------------------------------------------------------------------------------------
2. Who is the father of HTML?
a) Rasmus Lerdorf
b) Tim Berners-Lee
c) Brendan Eich
d) Sergey Brin
---------------------------------------------------------------------------------------------------------------------
3. Which of the following tag is used for inserting the largest heading in HTML?
a) head
b) <h1>
c) <h6>
d) heading
---------------------------------------------------------------------------------------------------------------------
4. Which HTML element is used for short quote?
a) <em>
b) <abbr>
c) <q>
d) <blockquote>
---------------------------------------------------------------------------------------------------------------------
5. Which HTML element is used for abbreviation or acronym?
a) <abbr>
b) <blockquote>
c) <q>
d) <em>
---------------------------------------------------------------------------------------------------------------------
6. Which of these elements in HTML can be used for making a text bold?
a. <a>
b. <pre>
c. <br>
d. <b>
---------------------------------------------------------------------------------------------------------------------
7. Which tag do we use in HTML for inserting a line-break?
a. <a>
b. <br>
c. <b>
d. <pre>
---------------------------------------------------------------------------------------------------------------------
8. How to create a hyperlink in HTML?
a. <a link = “www.thinkandlearn.com”> thinkandlearn.com </a>
b. <a> www.thinkandlearn.com <thinkandlearn.com /a>
c. <a href = “www.thinkandlearn.com”> thinkandlearn.com </a>
d. <a url = “www.thinkandlearn.com” thinkandlearn.com /a>
---------------------------------------------------------------------------------------------------------------------
9. In HTML, how do we insert an image?
a. <img src = “jtp.png” />
b. <img href = “jtp.png” />
c. <img link = “jtp.png” />
d. <img url = “jtp.png” />
---------------------------------------------------------------------------------------------------------------------
10. In HTML, we use the <hr> tag for ___________.
a. horizontal ruler
b. new line
c. new paragraph
d. vertical ruler
---------------------------------------------------------------------------------------------------------------------
11. In HTML, the tags are __________.
a. in upper case
b. case-sensitive
c. in lowercase
d. not case sensitive
12. What is the correct way in which we can start an ordered list that has the numeric value?
a. <ol type = “1”>
b. <ol type = “i”>
c. <ol type = “A””>
d. <ol type = “a”>
---------------------------------------------------------------------------------------------------------------------
13. Which one is the HTML document’s root tag?
a. <head>
b. <body>
c. <title>
d. <html>
---------------------------------------------------------------------------------------------------------------------
14. Which HTML tag do we use for displaying the power in the expression, (x² – y²)?
a. <p>
b. <sub>
c. <sup>
d. None of the above
---------------------------------------------------------------------------------------------------------------------
15. In HTML, the correct way of commenting out something would be using:
a. ## and #
b. <!– and –>
c. </– and -/->
d. <!– and -!>
---------------------------------------------------------------------------------------------------------------------
16. How does the <bdo> element work?
a. changes direction of the ltr text
b. override the direction of the rtl text
c. stops writing in current direction of text
d. override the text direction