0% found this document useful (0 votes)
80 views5 pages

HTML Questionbank 1st Edition

The document is a question bank for HTML, featuring multiple-choice questions covering various aspects of HTML tags, attributes, and their functions. It includes questions about color codes, list creation, text formatting, and the structure of HTML documents. An answer key is provided at the end for reference.

Uploaded by

jollyinfotech9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views5 pages

HTML Questionbank 1st Edition

The document is a question bank for HTML, featuring multiple-choice questions covering various aspects of HTML tags, attributes, and their functions. It includes questions about color codes, list creation, text formatting, and the structure of HTML documents. An answer key is provided at the end for reference.

Uploaded by

jollyinfotech9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

An ISO 9001:2015 Certified & Registered under Govt. of India.

CBCE Skill INDIA


Question Bank 1st Edition

HTML
1. Apart from <b> tag, what other tag makes text bold?
a) <bold> b) <em> c) <strong> d) <highlight>
2. Color code of #000000 stands for _______ color.
a) Black b) Red c) Blue d) Green
3. Color code of #0000FF stands for______ color.
a) Green b) Blue c) White d) Red
4. Color code of #00FF00 stands for _______ color.
a) Yellow b) Blue c) Green d) Red
5. Color code of #FF0000 stands for ______ color.
a) Red b) Yellow c) Black d) Blue
6. Color code of #FFFFFF stands for _______color.
a) Green b) Black c) Blue d) White
7. Fundamental HTML Block is known as ___________.
a) HTML Block b) HTML Element c) HTML Tag d) HTML Structure
8. How to create an ordered list in HTML?
a) <ol> b) <li> ::: </li> c) <dl> d) <ul> ::: </ul>
9. HTML comment begins with _____ symbol.
a) <! b) // c) /* d) #
10. HTML stands for __________.
a) High-Level Text Markup Language b) Hyper Transfer Markup Language
c) Hyper Text Markup Language d) Hyperlink and Text Markup Language
11. HTML tag begins with ______ symbol.
a) < b) ( c) { d) [
12. HTML tag ends with _____ symbol.
a) } b) ] c) ) d) >
13. If an HTML tag does not have an explicit closing tag, the tag may be closed with
_____ symbol instead of a simple > symbol.
a) > b) } c) /> d) )
14. In HTML _______ tag defines paragraph.
a) <br> b) <p> c) <hr> d) <div>
15. Most of the HTML tags have a corresponding closing tag, which begins with the
_____ symbol.
a) </ b) > c) !> d) /

Page 1 of 5
16. Paragraph is contained in side _______ HTML tags.
a) <paragraph> b) <p> ::: </p> c) <para> d) <pg>
17. The height of elements like images and tables can be controlled using the ______
attribute.
a) size b) length c) height d) dimension
18. The title to be displayed at the top of the browser window or browser tab is
enclosed in _____.
a) <title> b) <head> c) <meta> d) <header>
19. The width of elements like images, and tables, can be controlled using the ______
attribute.
a) width b) size c) length d) dimension
20. The year in which HTML was first proposed _______.
a) 1880 b) 1980 c) 1982 d) 1990
21. There are ___ levels of heading in HTML.
a) Six b) Five c) Four d) Twelve
22. To change font color in HTML
a) Use the <color> tag. b) Use the <text-color> tag
c) Use the <font> tag.` d) Use the <style> tag.
23. To get the ordered list we use the _____ tag.
a) <order> b) <ol> c) <list> d) <ul>
24. What does HTML stand for?
a) Hyperlink and Text Markup Language b) Hyper Transfer Markup Language
c) Hypertext Markup Language d) Hypertext Markup Language
25. What does the <br> tag do?
a) Adds a bullet point b) Creates a bold text
c) Creates a line break d) Defines a table row
26. What is the Default extension for an HTML document?
a) .html b) .xml c) .htm d) .htl
27. What is the effect of the <b> tag?
a) It makes text italic
b) It makes text underlined
c) It changes the text color.
d) It converts the text within it to bold font.
28. What is the purpose of the <th> element in HTML?
a) To represent a thick border b) To create a table header cell
c) To create a table heading d) To set the text as bold
29. What tag is used to render an image on a webpage?
a) <image> b) <img> c) <picture> d) <graphic>
30. What type of language is HTML?
a) Markup Language b) Programming Language
Page 2 of 5
c) Scripting Language d) Query Language
31. Which attribute is used to align text to the center in HTML?
a) text-align b) align c) center d) text-center
32. Which attribute is used to define the height of an image in HTML?
a) img-height b) height c) size d) image-height
33. Which attribute is used to specify the source URL of an image in the <img> tag?
a) source b) img-url c) img-src d) src
34. Which character is used to represent when the tag is close in HTML?
a) / b) > c) < d) !
35. Which HTML element is used to create an unordered list?
a) <ol> b) <list> c) <ul> d) <unordered>
36. Which HTML element is used to define a level-three heading?
a) <h3> b) <h2> c) <h4> d) <h1>
37. Which HTML tag is used for making character appearance underline?
a) <underline> b) <italic> c) <em> d) <u>
38. Which HTML tag is used for making the character appearance bold?
a) <strong> b) <bold> c) <b> d) <em>
39. Which HTML tag is used to create a line break?
a) <lb> b) <br> c) <line> d) <break>
40. Which HTML tag is used to create an italicized text?
a) <italic> b) <em> c) <i> d) <italicize>
41. Which HTML tag is used to create an ordered list?
a) <ol> b) <ul> c) <list> d) <li>
42. Which HTML tag is used to define the title of a webpage?
a) <title> b) <header> c) <h1> d) <caption>
43. Which of the following is used to return an HTML page and render it?
a) Web Browser b) FTP c) HTTP d) POP3
44. Which of the following tag is used for inserting the largest heading in HTML?
a) <head> b) <h1> c) <h6> d) <title>
45. Which of the following tags do not require a terminator?
a) <a> b) <p> c) <div> d) <br>
46. Which tag is used to create a form in HTML?
a) <form> b) <input> c) <f> d) <format>
47. Which tag is used to create a hyperlink in HTML?
a) <link> b) <url> c) <a> d) <hyperlink>
48. Which tag is used to define a division or a section in HTML?
a) <sect> b) <section> c) <div> d) <divide>
49. Which tag is used to define a footer in HTML?
Page 3 of 5
a) <footer> b) <foot> c) <end> d) <bottom>
50. Which tag is used to define a level four heading in HTML?
a) <h3> b) <h4> c) <h2> d) <h>
51. Which tag is used to define a level two heading in HTML?
a) <h1> b) <h2> c) <h3> d) <h>
52. Which tag is used to define an italicized text in HTML?
a) <it> b) <italic> c) <i> d) <em>
53. Which tag is used to define the header of a table or a section?
a) <thead> b) <head> c) <header> d) <table-head>
54. Which tag is used to insert a horizontal rule in HTML?
a) <line> b) <rule> c) <hr> d) <hl>
55. Which tag is used to insert an image in HTML?
a) <img> b) <image> c) <picture> d) <graphic>
56. Which tag is used to make text bold in HTML?
a) bold b) <b> c) strong d) <bold>
57. Which tag is used to make text italic in HTML?
a) italic b) <i> c) <italic> d) emphasis
58. Which tag is used to make text underline in HTML?
a) underline b) <u> c) <under> d) emphasis
59. ______ HTML tag can control font face, size and color.
a) <font> b) <style> c) <format> d) <text>
60. ______ HTML tag displays an image in HTML page.
a) <img src="example.jpg" /> b) <picture>
c) <image> d) <graphic>
61. ______ HTML tag displays headings of the second largest size.
a) <h2> ::: </h2> b) <heading2>
c) <sub-heading> d) <second-heading>
62. ______ HTML tag displays headings of the smallest size.
a) <small-heading> b) <h6> ::: </h6> c) <heading6> d) <tiny-heading>
63. ______ HTML tag displays table with border thickness of 1 pixel.
a) <thick-table> b) <table border="1px"> ::: </table>
c) <bordered-table> d) <table-border>
64. ______ HTML tag displays table with no border.
a) <table> b) <noborder-table>
c) <table border="0"> ::: </table> d) <table-noborder>
65. Which attribute is used to define a placeholder text for an input field in HTML?
a) placeholder b) hint
c) placeholder-text d) text
66. Which attribute is used to specify the language of the text in an HTML document?
Page 4 of 5
a) lang b) language c) text-lang d) html-lang
67. Which attribute is used to specify the type of input in an HTML input field?
a) input-type b) type c) input d) input-typefield
68. Which attribute is used to specify the URL of a linked resource in the <a> tag?
a) src b) url c) link d) href
69. Which HTML element is used to define the main content of an HTML document?
a) <content> b) <body> c) <main> d) <article>
70. Which tag is used to define a hyperlink anchor in HTML?
a) <link> b) <a href=""> c) <a link=""> d) <hyperlink>
71. Which HTML element is used to define a navigation menu?
a) <nav> b) <menu> c) <navigation> d) <navbar>
72. Which attribute is used to provide the source URL of an audio file in HTML?
a) source b) audio-src c) src d) sound
73. Which tag is used to create a hyperlink to an email address?
a) <email> b) <a href="mailto:">
c) <a email=""> d) <a mail="">

Answer Key
1.C 2.A 3.B 4.C 5.A 6.D 7.C 8.A 9.A 10.C 11.A 12.D 13.C 14.B 15.A 16.B 17.C 18.A 19.A
20.D 21.A 22.C 23.B 24.D 25.C 26.A 27.D 28.B 29.B 30.A 31.B 32.B 33.D 34.A 35.C 36.A
37.D 38.C 39.B 40.C 41.A 42.A 43.A 44.B 45.D 46.A 47.C 48.C 49.A 50.B 51.B 52.C 53.A
54.C 55.A 56.B 57.B 58.B 59.A 60.A 61.A 62.B 63.B 64.C 65.A 66.A 67.B 68.D 69.C 70.B
71.A 72.C 73.B

Page 5 of 5
Powered by TCPDF (www.tcpdf.org)

You might also like