HTML MCQ
Soopro Pathshala provides HTML MCQ(Multiple Choice Questions)
1. How many sizes of headers are available in HTML by default?
a) 1
b) 2
c) 3
d) 6
View Answer
2. What is the smallest header in HTML by default?
a) h1
b) h2
c) h3
d) h6
View Answer
3. What are the types of lists available in HTML?
a) ordered, unordered lists
b) bulleted, numbered lists
c) named, unnamed lists
d) none of the above
View Answer
Answer: (a) ordered, unordered lists
4. HTML files are saved by default with the extension?
a) .html
b) .h
c) .ht
d) none of the above
View Answer
5. In which part of the HTML metadata is contained?
a) head tag
b) title tag
c) html tag
d) body tag
View Answer
6. Which element is used to get highlighted text in HTML5?
a) u tag
b) mark tag
c) highlight tag
d) b tag
View Answer
7. Which of the following elements in HTML5 defines video or movie content?
a) video tag
b) movie tag
c) audio tag
d) media tag
View Answer
8. Which of the following is not the element associated with the HTML table layout?
a) alignment
b) color
c) size
d) spanning
View Answer
9. How to create an unordered list in HTML?
a) ul tag
b) ol tag
c) li tag
d) i tag
View Answer
10. How to create an ordered list in HTML?
a) ul tag
b) ol tag
c) li tag
d) i tag
View Answer
11. Which of the following tag is used to define options in a drop-down selection list?
a) select tag
b) list tag
c) dropdown
d) option
View Answer
12. Which of the following tag is used to add rows in the table?
a) td
b) th
c) tr
d) none of the above
View Answer
13. The hr tag in HTML is used for -
a) new line
b) vertical ruler
c) new paragraph
d) horizontal ruler
View Answer
Answer: (d) horizontal ruler
14. The body tag is usually used after___
a) HTML tag
b) EM tag
c) TITLE tag
d) HEAD tag
View Answer
15. Choose the correct HTML tag to make a text italic.
a) i tag
b) italic tag
c) it tag
d) il tag
View Answer
16. What does the br tag add to your webpage?
a) Long break
b) Paragraph break
c) Line break
d) None of the above
View Answer
17. The first tag inside table tag is ______
a) head tag
b) caption tag
c) th tag
d) td tag
View Answer
18. The symbol used at the beginning of the HREF text is
a) @
b) &
c) $
d) #
View Answer
19. What kind of list will ol tag create?
a) Numbered list
b) Bulleted list
c) unordered list
d) none of the above
View Answer
Answer: (a) Numbered list
20. HTML tags are recognized by___
a) <
b) <= =>
c) < >
d) none of the above
View Answer
21. Choose the correct HTML tag to make a text bold
a) bd tag
b) bold tag
c) bl tag
d) b tag
View Answer
22. Gif and jpg are the two main types of what?
a) animated effects
b) videos
c) images
d) none of the above
View Answer
23. Which tag can set the background color for your page?
a) body tag
b) font tag
c) head tag
d) title tag
View Answer
24. Which character is used to represent when a tag is closed in HTML?
a) #
b) !
c) /
d) \
View Answer
25. Among the following, which is the HTML paragraph tag?
a) p tag
b) pre tag
c) hr tag
d) a tag
View Answer
26. Which HTML element is sued for short quote?
a) em tag
b) abbr tag
c) q tag
d) blockquote
View Answer
27. Which tag is used to create a dropdown in HTML Form?
a) input tag
b) select tag
c) text tag
d) textarea tag
View Answer
28. Full form of td tag?
a) table data
b) table heading
c) table row
d) none of these
View Answer
29. Which tag is used to create a blank line in HTML?
a) b tag
b) br tag
c) em tag
d) a tag
View Answer
30. Which works similar to b element?
a) blockquote
b) strong
c) em
d) i
View Answer
31. What is the current version of HTML5?
a) HTML 5
b) HTML 1.0
c) HTML 1
d) none of these
View Answer
32. Which tag is used to insert images into your web page?
a) img
b) scr
c) im
d) none of the above
View Answer
33. Which of the following will not be found in the head section?
a) table tag
b) meta tag
c) title tag
d) none of the above
View Answer
34. What will be the added by using td tag?
a) rows
b) steps
c) cell
d) columns
View Answer
35. Which format usually works best for photos?
a) HTML
b) GIF
c) JPG
d) all of the above
View Answer
36. Which tag is used to add columns to tables?
a) td tag
b) tr tag
c) th tag
d) colspan
View Answer
37. The HTML tgs are all?
a) in lower case
b) in upper case
c) case sensitive
d) not case sensitive
View Answer
Answer: (d) not case sensitive
38. Which tag tells where a link starts?
a) a tag
b) i tag
c) body tag
d) none of the above
View Answer
39. What is the correct HTML tag for inserting a line break
a) break tag
b) lb tag
c) pre tag
d) br tag
View Answer
40. Tags and text do not show directly on the page are placed in.
a) head tag
b) body tag
c) title tag
d) none of the above
View Answer