
HTML MCQ 04
35. Which of the following extension is used to save an HTML file?
a) .hl
b) .h
c) .htl
d) .html
Answer: d
Explanation: .html or .htm extensions are used to save the HTML file.
36. Which tag is used to create a blank line in HTML?
a) <b>
b) <br>
c) <em>
d) <a>
Answer: b
37. Which HTML tag is used to convert the plain text into italic format?
a) <b>
b) <p>
c) <i>
d) <a>
Answer: c
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
Answer: d
39. Which attribute is not essential under <iframe>?
a) frameborder
b) width
c) height
d) src
Answer: a
40. Which works similar to <b> element?
a) <blockquote>
b) <strong>
c) <em>
d) <i>
Answer: b
41. Which tag is used to underline the text in HTML?
a) <p>
b) <u>
c) <i>
d) <ul>
Answer: b
42. Which attribute specifies a unique alphanumeric identifier to be associated with an element?
a) type
b) article
c) id
d) class
Answer: c
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
Answer: d
44. Which HTML element is used for YouTube videos?
a) <samp>
b) <small>
c) <frame>
d) <iframe>
Answer: d
45. Which of the following HTML element is used for canvas graphics?
a) <css>
b) <paint>
c) <canvas>
d) <graphic>
Answer: c