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. HTML stands for __________
a) HyperText Markup Language
b) HyperText Machine Language
c) HyperText Marking Language
d) HighText Marking Language
4. What is the correct syntax of doctype in HTML5?
a) </doctype html>
b) <doctype html>
c) <doctype html!>
d) <!doctype html>
5. Which of the following is used to read an HTML page and render it?
a) Web server
b) Web network
c) Web browser
d) Web matrix
6. Which of the following is not a difference between HTML and XHTML?
a) Charset in both html and xhtml is “text/html”
b) Tags and attributes are case-insensitive in HTML but not in XHTML
c) Special characters must be escaped using character entities in XHTML unlike HTML
d) Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
7. Which of the following tag is used for inserting the largest heading in HTML?
a) head
b) <h1>
c) <h6>
d) heading
8. What is DOM in HTML?
a) Language dependent application programming
b) Hierarchy of objects in [Link]
c) Application programming interface
d) Convention for representing and interacting with objects in html documents
9. In which part of the HTML metadata is contained?
a) head tag
b) title tag
c) html tag
d) body tag
10. Which element is used to get highlighted text in HTML5?
a) <u>
b) <mark>
c) <highlight>
d) <b>
11. Which of the following is not a HTML5 tag?
a) <track>
b) <video>
c) <slider>
d) <source>
12. How do we write comments in HTML?
a) </…….>
b) <!……>
c) </……/>
d) <…….!>
13. Which of the following elements in HTML5 defines video or movie content?
a) <video>
b) <movie>
c) <audio>
d) <media>
14. Which of the following is not the element associated with the HTML table layout?
a) alignment
b) color
c) size
d) spanning
15. Which element is used for or styling HTML5 layout?
a) CSS
b) jQuery
c) JavaScript
d) PHP
16. Which HTML tag is used for making character appearance bold?
a) <u>content</u>
b) <b>content</b>
c) <br>content</br>
d) <i>content</i>
17. Which HTML tag is used to insert an image?
a) <img url=”[Link]” />
b) <img alt=”[Link]” />
c) <img src=”[Link]” />
d) <img link=”[Link]” />
18. HTML is a subset of ___________
a) SGMT
b) SGML
c) SGME
d) XHTML
19. Which character is used to represent when a tag is closed in HTML?
a) #
b) !
c) /
d) \
20. Which of the following HTML code will make an image clickable?
a)<a href="[Link] Home Page</a>
b)<img src="[Link]
href="[Link] Home Page</a>
</img>
c)<a href="[Link] Home Page</a>
<img src="[Link] />
d)<a href="[Link] src="[Link]
logo" /></a>
21. Among the following, which is the HTML paragraph tag?
a) <p>
b) <pre>
c) <hr>
22. In HTML, which attribute is used to create a link that opens in a new window tab?
a) src=”_blank”
b) alt=”_blank”
c) target=”_self”
d) target=”_blank”
23. Which HTML element is used for short quote?
a) <em>
b) <abbr>
c) <q>
d) <blockquote>
24. Which of the following HTML tag is used to create an unordered list?
a) <ol>
b) <ul>
c) <li>
d) <ll>
25. Which HTML element is used for abbreviation or acronym?
a) <abbr>
b) <blockquote>
c) <q>
d) <em>
26. Which of the following HTML tag is used to add a row in a table?
a) <th>
b) <td>
c) <tr>
d) <tt>
27. What is the work of <address> element in HTML5?
a) contains IP address
b) contains home address
c) contains url
d) contains contact details for author
28. Which of the following tag is used to create a text area in HTML Form?
a) <textarea> </textarea>
b) <text></text>
c) <input type=”text” />
d) <input type=”textarea” />
29. To show deleted text, which HTML element is used?
a) <del>
b) <em>
c) <strong>
d) <ins>
30. What is the correct syntax of web address?
a) port://[Link]:path/scheme/prefix
b) prefix://[Link]:domain/filename/path
c) path://[Link]:domain/filename/scheme
d) scheme://[Link]:port/path/filename
31. Which tag is used to create a dropdown in HTML Form?
a) <input>
b) <select>
c) <text>
d) <textarea>
32. Which tag is used to create a numbered list in HTML?
a) <ol>
b) <ul>
c) <li>
d) <ll>
33. How to create a checkbox in HTML Form?
a) <input type=”text”>
b) <input type=”textarea”>
c) <input type=”checkbox”>
d) <input type=”button”>
34. How to insert Hyperlink in HTML Page?
a)<a href="[Link] MCQ</a>
b)<a target="[Link] HTML Quiz />
c)<a src="[Link] Test</a>
d)<a>[Link]
35. Which of the following extension is used to save an HTML file?
a) .hl
b) .h
c) .htl
6. Which tag is used to create a blank line in HTML?
a) <b>
b) <br>
c) <em>
d) <a>
37. Which HTML tag is used to convert the plain text into italic format?
a) <b>
b) <p>
c) <i>
d) <a>
38. What is the use of <hr/> tag in HTML?
a) For making content appearance italics
b) To create vertical rule between sections
c) To create a line break
d) To create horizontal rule between sections
39. Which attribute is not essential under <iframe>?
a) frameborder
b) width
c) height
d) src
40. Which works similar to <b> element?
a) <blockquote>
b) <strong>
c) <em>
d) <i>
41. Which tag is used to underline the text in HTML?
a) <p>
b) <u>
c) <i>
d) <ul>
42. Which attribute specifies a unique alphanumeric identifier to be associated with an element?
a) type
b) article
c) id
d) class
43. Which of the following is an HTML specification used to add more information to HTML tags?
a) Modifydata
b) Minidata
c) Macrodata
d) Microdata
44. Which HTML element is used for YouTube videos?
a) <samp>
b) <small>
c) <frame>
d) <iframe>
45. Which of the following HTML element is used for canvas graphics?
a) <css>
b) <paint>
c) <canvas>
d) <graphic>