HTML MCQ
HTML MCQ
2. <b> tag makes the enclosed text bold. 8. How can you make a numbered list?
What is other tag to make text bold? a. <dl>
a. <strong> b. <ol>
b. <dar> c. <list>
c. <black> d. <ul>
d. <emp>
3. Tags and text that are not directly 9. How can you make an e-mail link?
displayed on the page are written in _____ a. <a href=”xxx@yyy ”>
section. b. <mail href=”xxx@yyy ”>
a. <html> c. <mail>xxx@yyy </mail>
b. <head> d. <a href=”mailto:xxx@yyy ”>
c. <title>
d. <body> 10. What is the correct HTML for making a
hyperlink?
4. Which tag inserts a line horizontally on a. <a href=”http:// mcqsets.com“>ICT
your web page? Trends Quiz</a>
a. <hr> b. <a name=”https://mcqsets.com“>ICT
b. <line> Trends Quiz</a>
c. <line direction="horizontal"> c. <https://mcqsets.com</a>
d. <tr> d. url=”https://mcqsets.com“>ICT Trends
Quiz
5. What should be the first tag in any HTML 11. Choose the correct HTML tag to make a
document? text italic
a. <head> a. <ii>
b. <title> b. <italics>
c. <html> c. <italic>
d. <document> d. <i>
6. Which tag allows you to add a row in a 12. Choose the correct HTML tag to make a
table? text bold?
a. <td> and </td> a. <b>
b. <cr> and </cr> b. <bold>
c. <th> and </th> c. <bb>
d. <bld> b. <list>
c. <input type="dropdown">
13. What is the correct HTML for adding a d. all of above
background color?
a. <body color=”yellow”> 20. Which of the following is not a pair tag?
b. <body bgcolor=”yellow”> a. <p>
c. <background>yellow</background> b. < u >
d. <body background=”yellow”> c. <i>
d. <img>
14. Choose the correct HTML tag for the
smallest size heading? 21. To create HTML document you requirea
a. <heading> a. web page editing software
b. <h6> b. High powered computer
c. <h1> c. Just a notepad can be used
d. <head> d. None of above
15. What is the correct HTML tag for 22. The special formatting codes in HTML
inserting a line break? document used to present contentare
a. <br> a. tags
b. <lb> b. attributes
c. <break> c. values
d. <newline> d. None of above
16. What doesvlink attribute mean? 23. HTML documents are saved in
a. visited link a. Special binary format
b. virtual link b. Machine language codes
c. very good link c. ASCII text
d. active link d. None of above
17. Which attribute is used to name an 24. Some tags enclose the text. Those tags
element uniquely? are known as
a. class a. Couple tags
b. id b. Single tags
c. dot c. Double tags
d. all of above d. Pair tags
18. Which tag creates a check box for a form 25. The _____ character tells browsers to
in HTML? stop tagging the text
a. <checkbox> a. ?
b. <input type="checkbox"> b. /
c. <input=checkbox> c. >
d. <input checkbox> d. %
19. To create a combo box (drop down box) Q. Can I download the MCQ banks
which tag will you use? in MCQSets.com?
a. <select> a. Yes, do a search in mcqsets.com site
b. Yes, some files are offered to download 32. Which of the following HTML code is
free valid?
c. mcqSets.com has download sections a. <font colour="red">
d. The downloads are available as PDF files b. <font color="red">
c. <red><font>
26. In HTML document the tags d. All of above are style tags
a. Should be written in upper case
b. should be written in lower case 33. Which of the following is an attribute
c. should be written in propercase related to font tag?
d. can be written in both uppercase or a. size
lowercase b. face
c. color
27. Marquee is a tag in HTML to d. All of above are style tags
a. mark the list of items to maintaininqueue
b. Mark the text so that it is hidden in 34. HTML supports
browser a. ordered lists
c. Display text with scrolling effect b. unordered lists
d. None of above c. both type of lists
d. does not support those types
28. There are ____ different of heading tags
in HTML 35. What tag is used to list individual items
a. 4 of an ordered list?
b. 5 a. LI
c. 6 b. OL
d. 7 c. UL
d. None of above
29. To create a blank line in your web page
a. press Enter two times 36. When should you use path along with
b. press Shift + Enter file name of picture in IMG tag?
c. insert <BR> tag a. path is optional and not necessary
d. insert <BLINE> b. when the location of image file andhtml
file are different
30. Which of the following is not a style c. when image file and html file both are on
tag? same location
a. <b> d. path is always necessary when inserting
b. <tt> image
c. <i>
d. All of above are style tags 37. Which of the following is not a valid
alignment attribute?
31. The way the browser displays the object a. Left
can be modified by _____ b. Right
a. attributes c. Top
b. parameters d. All of above
c. modifiers
d. None of above 38. Which attribute is used withimg tag to
display the text if image could not load in
browser? c. <line direction="horizontal">
a. description d. <tr>
b. name
c. alt 45. What should be the first tag in any
d. id HTML document?
a. <head>
39. Which attribute can be used with BODY b. <title>
tag to set background color green? c. <html>
a. background="green" d. <document>
b. bgcolor="green"
c. vlink="green" 46. Which tag allows you to add a row in a
d. None of above table?
a. <td> and </td>
40. Which attribute you’ll use with TD tag b. <cr> and </cr>
to merge two cells horizontally? c. <th> and </th>
a. merge=colspan2 d. <tr> and </tr>
b. rowspan=2
c. colspan=2 47. How can you make a bulleted list?
d. merge=row2 a. <list>
b. <nl>
41. Awebpage displays a picture. What tag c. <ul>
was used to display that picture? d. <ol>
a. picture
b.mage 48. How can you make a numbered list?
c.img a. <dl>
d. src b. <ol>
c. <list>
42. <b> tag makes the enclosed text bold. d. <ul>
What is other tag to make text bold?
a. <strong> 49. How can you make an e-mail link?
b. <dar> a. <a href="xxx@yyy ">
c. <black> b. <mail href="xxx@yyy ">
d. <emp> c. <mail>xxx@yyy </mail>
d. <a href="mailto:xxx@yyy ">
43. Tags and test that are not directly
displayed on the page are written in _____ 50. What is the correct HTML for making a
section. hyperlink?
a. <html> a. <a href="http://mcqsets.com">MCQ Sets
b. <head> Quiz</a>
c. <title> b. <a name="http://mcqsets.com">MCQ
d. <body> Sets Quiz</a>
c. <http://mcqsets.com</a>
44. Which tag inserts a line horizontally on d. url="http://mcqsets.com">MCQ Sets
your web page? Quiz
a. <hr>
b. <line> 51. Choose the correct HTML tag to make a
text italic d. active link
a. <ii>
b. <italics> 57. Which attribute is used to name an
c. <italic> element uniquely?
d. <i> a. class
b. d
Q. Can I download the MCQ banks c. dot
in MCQSets.com? d. all of above
a. Yes, do a search in mcqsets.com site
b. Yes, some files are offered to download 58. Which tag creates a check box for a form
free in HTML?
c. mcqSets.com has download sections a. <checkbox>
d. The downloads are available as PDF files b. <input type="checkbox">
c. <input=checkbox>
52. Choose the correct HTML tag to make a d. <input checkbox>
text bold?
a. <b> 59. To create a combo box (drop down box)
b. <bold> which tag will you use?
c. <bb> a. <select>
d. <bld> b. <list>
c. <input type="dropdown">
53. What is the correct HTML for adding a d. all of above
background color?
a. <body color="yellow"> 60. Which of the following is not a pair tag?
b. <body bgcolor="yellow"> a. <p>
c. <background>yellow</background> b. < u >
d. <body background="yellow"> c. <i>
d. <img>
54. Choose the correct HTML tag for the
smallest size heading? 61. What is the full form of HTML?
a. <heading> a.Hyper text markup language
b. <h6> b. Hyphenation text markup language
c. <h1> c. Hyphenation test markinglanguage
d. <head> d.Hyper text marking language
55. What is the correct HTML tag for 62. What is the full form of HTTP?
inserting a line break? a.Hyper text transfer protocol
a. <br> b.Hyper text transfer package
b. <lb> c. Hyphenation text test program
c. <break> d. none of the above
d. <newline>
63. What is a search engine?
56. What doesvlink attribute mean? a. a program that searches engines
a. visited link b. aweb site that searches anything
b. virtual link c. a hardware component
c. very good link d. a machinery engine that search data
b. Browser
64. What is the full form of TCP/IP? c. SearchEngine
a. transmission control protocol / internet d. None of the above
protocol
b. telephone call protocol / international 71. <TITLE> … </TITLE> tag must be
protocol within ________
c. transport control protocol / internet a. Title
protocol b. Form
d. none of the above c. Header
d. Body
65. HTML document start and end with
which tag pairs? 72. Text within <EM> … </EM> tag is
a. <HEAD>….</HEAD> displayed as ________
b. <BODY>….</BODY> a. bold
c. <HTML>….</HTML> b. italic
d. <WEB>….</WEB> c. list
d. indented
66. Which tag is used to create body text in
HTML? 73. Text within <STRONG> …
a. <HEAD> </STRONG> tag is displayed as ________
b. <TEXT> a. bold
c. <TITLE> b. italic
d. <BODY> c. list
d. indented
67. "Yahoo", "Infoseek" and "Lycos" are
_________? 74. <UL> … </UL> tag is used to ________
a. Search Engines a. display the numbered list
b. Browsers b. underline the text
c.News groups c. display the bulleted list
d. None of the above d. bold the text
68. What does the .com domain represents? 75. Which tag is used to display the
a. Education domain numbered list?
b. Commercial domain a. <OL></OL>
c. Network b. <DL></DL>
d. None of the above c. <UL></UL>
d. <LI></LI>
69. In Satellite based communication, VSAT
stands for? 76. Which tag is used to display the large
a. Very Small Aperture Terminal font size?
b. Varying Size Aperture Terminal a. <LARGE></LARGE>
c. Very Small Analog Terminal b. <BIG></BIG>
d. None of the above c. < SIZE ></SIZE>
d. <FONT></FONT>
70. Outlook Express is a _________
a. E-Mail Client 77. <SCRIPT> … </SCRIPT> tag can be
placed within ________ a. Online quiz
a. Header c. Downloads
b. Body
c. both A and B 84. What is Internet Explorer?
d. none of the above a. An Icon
b. A File Manager
78. using <P> tag will c. A Browser
a. start a new paragraph d. The Internet
b. break the line
c. end the current paragraph 85. What do I need to get onto the Internet?
d. none of the above a. Computer
b. Modem
79. <TD> … </TD> tag is used for c. Browser
________ d. All of the above
a. Table heading
b. Table Records 86. What is an ISP?
c. Table row a.nternet System Protocol
d. none of the above b.nternal System Program
c. Internet Service Provider
80. Which is true to change the text color to d. None of the above
red?
a. <BODY BGCOLOR=RED> 87. Which of the following is valid IP
b. <BODY TEXT=RED> address?
c. <BODY COLOR=RED> a. 984.12.787.76
d. none of the above b. 192.168.321.10
c. 1.888.234.3456
81. With regards to e-mail addresses: d. 192.168.56.115
a. hey must always contain an @ symbol
b. hey can never contain spaces 88. Which is not a domain name extension
c. they are case-insensitive a. mil
d. all of the above b. org
c. .int
82. A homepage is __________ d. .com
a. an index of encyclopedia articles
b. where all Internet data is stored 89. What is a FTP program used for?
c. required for access to the Internet a. Transfer files to and from an Internet
d. the first page of a website Server
b. Designing a website
83. Which of the following is used to c. Connecting to the internet
explore the Internet? d. None of the above
a. Browser
b. Spreadsheet 90. Which of the following are commonly
c. Clipboard found on web pages?
d. Draw a.nternet
b. hyperlinks
Q. You can use mcqSets.com for c. intranet
d. all of the above b. <A HREF =
"mailto:[email protected]"></A>
91. What is the correct syntax in HTML for c. <MAIL>[email protected] </MAIL>
creating a link on a webpage? d. MAILHREF = "[email protected] ">
a. <LINK SRC= "mcqsets.html">
b. <BODY LINK = "mcqsets.html"> 96. Choose the correct HTML tag for the
c. <A SRC = "mcqsets.html" > largest heading?
d. < A HREF = "mcqsets.html"> a. <H1>
b. <H6>
92. Which of the following is an attribute of c. <H10>
<Table> tag? d. <HEAD>
a. SRC
b. LINK 97. Output of XML document can be viewed
c. CELLPADDING ina
d. BOLD a. Word Processor
b. Web browser
93. Choose the correct HTML tag to make c. Notepad
the text bold? d. None of the above
a. <B>
b. <BOLD> 98. What is the correct way of describing
c. <STRONG> XML data?
d. Both A) and C) a. XML uses a DTD to describe data
b. XML uses a description node to describe
94. Which HTML tag would be used to data
display power in expression (A+B)2 ? c. XML uses XSL to describe the data
a. <SUP> d. XML uses a validator to describe the data
b. <SUB>
c. <B> 99. Comments in XML document is given
d. <P> by:
a. <?-- _ _-->
Q. You can use mcqSets.com for b. <!_ _ _ _!>
a. Online quiz c. <!_ _ _ _>
b. MCQ Banks d. </_ _ _ _>
c. Downloads
d. Subjective Questions & answers 100. Which statement is true?
Visit https://mcqsets.com a. An XML document can have one root
element
95. Choose the correct HTML code to create b. An XML document can have one child
an email link? element
a. <A HREF = c. XML elements have to be in lowercase
"[email protected] "></A> d. All of the above
101. How to define the link should open in a. <a href = "https://mcqsets.com/" target =
new page in HTML? "blank">Click Here</a>
b. <a href = "https://mcqsets.com/" target = 107. What is <tt> tag in HTML?
"_blank"> Click Here </a> a. It renders fonts as teletype text font style.
c. <a href = "https://mcqsets.com/" target = b. It renders fonts as truetype text font style.
"#blank"> Click Here </a> c. It renders fonts as truncate text font style.
d. <a href = "https://mcqsets.com/" target = d. None of the Above.
"@blank"> Click Here </a>
108. What is the use of Forms in HTML?
102. In HTML, Uniform Resource Identifier a. to display contents of email.
(URI) is used to b. to display animation effect.
a. To create a frame document . c. to collect user’s input.
b. To create a image map in the webpage. d. None of the Above.
c. To customize the image in the webpage.
d. To identify a name or a resource on the 109. What is the use of iframe in HTML?
internet. a. to display a web page within a web page.
b. to display a web page with animation
103. CSS is an acronym for effect.
a. Cascading Style Sheet c. to display a web page without browser.
b. Costume Style Sheet d. All of the Above.
c. Cascading System Style
d. None of the Above 110. FTP is an acronym for
a. File Transaction Protocol
104. Which of the following protocol is not b. File Transmission Protocol
used in the Internet c. File Translation Protocol
a. Telnet d. File Transfer Protocol
b. WIRL
c. HTTP 111. Which HTML Tag will use to scroll a
d. Gopher text in web page?
a. <marquee> … </marquee>
105. Who invented World Wide Web b. <scroll> … </scroll>
(WWW)? c. <round> … </round>
a. Blaise Pascal d. <go> … </go>
b. Charles Babbage
c. Herman Hollerith 112. Which organization defines the Web
d. Tim Berners-Lee Standards?
a. Microsoft Corporation
106. What is the use of Web Font in HTML b. IBM Corporation
? c. World Wide Web Consortium
a. that is the core font that is use to develop d. Apple Inc.
Web Pages.
b. that enables to use fonts over the Web 113. How to set a picture as a background
without installation. web page?
c. that is the special font that developed by a. <body background= “bgimage.gif”>
Microsoft Corp. b. <body background image=
d. All of the Above. “bgimage.gif”>
c. <background= “bgimage.gif”>
d. <background image= “bgimage.gif”>
114. Which of following HTML Tag will second table.
inserting a line break? d. No, it’s not possible.
a. <p />
b. <lb /> 120. What is the usage of alt value in <img>
c. <br /> tag?
d. <break /> a. Alternative text for an Image
b. Alternative source of an Image
115. Which of the following tags are related c. Caption of an Image
to Table in HTML ? d. All of above
a. <table> <row> <column>
b. <table> <tr> <td> 121. Which of the following is the correct
c. <table> <head> <body> regarding meta tag in HTML?
d. <table> <header> <footer> a. <meta> … </meta>
b. <meta name = " " />
116. Which of the following is correct c. <metadata> … </metadata>
HTML for inserting an image? d. <metadata name = " " />
a. <image source= “mcqsets.com/admin.jpg”
alt= “This is me” /> 122. Which of the following is correct to set
b. <img src= “mcqsets.com/admin.jpg” alt= "Black" color as Background of page?
“This is me” /> a. bgcolor = "#000000">
c. <img source= “mcqsets.com/admin.jpg” b. <body background = "#000000">
alt= “This is me” /> c. <body Background color = "#000000">
d. <img alt= “This is d. All of Above
me”>mcqsets.com/admin.jpg
123. Which of the following is correct to
117. Choose the correct HTML tag to left- align H1 tag to Right Alignment
align the content of a cell. a. <h1 align = "right"> …
a. <tdleft> b. <h1 alignment = "right"> …
b. <td leftalign> c. <h1 tag align = "right"> … </h1>
c. valign= “left”> d. H1 cannot make Right Alignment
d. <td align= “left”>
124. Which of the following is correct to
118. Which tag is used to lists the items with change font face in Web Page
bullets? a. <font = "font name"> …
a. <bullet>…</bullet> b. <font name = "font name"> … </font>
b. <list>…</list> c. <font face = "font name"> … </font>
c. <ul>… d. Font Face cannot change
d. <ol>…</ol>
125. Which of the following is incorrect
119. Is it possible to insert a table within regarding Logical styles?
another table? a. Code looks like teletype
a. Yes, but there must be exactly 2 rows and b. Sample looks like teletype
2 columns in first table. c. Keyboard looks like teletype
b. Yes, table can be inserted into cell of d. Variable looks like teletype
another table.
c. Yes, but there must be no border in
126. Which of the following is correct 131. Which of the following is used to create
character entities for "Copyright" symbol? web pages?
a. • a. HTML
b. Ÿ b. C
c. © c. JVM
d. ³ d. DTD
127. Which tag is used to display 132. HTML is considered as ___ language
Preformatted texts? a. Programming Langauge
a. <pre> … </ pre> b. OOP Language
b. <prefor> … </ prefor> c. High Level Language
c. <pre text> … </ pre text> d. Markup Language
d. <pre format> … </ pre format>
133. HTML language is a set of markup ___
128. Which is the correct to create an Arabic a. Attributes
numeral list b. Tags
a. <ul type="1"> c. Sets
b. <ol type="1"> d. Groups
c. <il type="1">
d. <li type="1"> 134. HTML tags are used to describe
document ____
129. How to add alternative text for an
Image? a. Definition
a. <img src = b. Language
"https://mcqsets.com/brand.png" alternate = c. Content
"Brand of website" /> d. None of these
b. <img src =
"https://mcqsets.com/brand.png" alt text = 135. HTML document can contain
"Brand of website" /> a. Attributes
b. Tags
c. src = "https://mcqsets.com/brand.png" c. Plain text
alternate text = "Brand of website" /> d. All of these
152. How many heading tags are supported 159. .................... is a web's native protocol.
by HTML? a. SLIP
a. 3 b. TCP/IP
b. 4 c. HTTP
c. 5 d. PPP
d. 6
160. The Internet uses the ........................ as
153. Which is the largest heading tag? the protocol engine.
a. H1 a. SLIP
b. H3 b. HTTP
c. H4 c. TCP/IP
d. H6 d. PPP
189. A Web document is broken into 192. For every Web document, you can add
sections. What are the tags called that create words that appear in the upper left bar area
these sections? of your browser. What set of tags allows you
a. Structure tags to provide this information?
b. HTML tags a. <head></head>
c. Heading tags b. <head><head>
d. Body tags c. <label><label>
d. <title></title>
190. What should be the first and last pair of
tags in your Web document? 193. If you wanted to create text that was a
a. <html></html> and <body></body> different color or font than other text in your
b. <start><end> and <body></body> Web page, what type of tag would you use?
c. <head><body> and <title></title> a. Layout
d. <title></title> and <body<>/body> b. Basic formatting
c. Design
191. When you use a heading tag in a d. Outline
document, what does the Web browser
assumes? 194. When creating a Web document, what
a. Heading information is to appear in bold format is used to express an image's height
letters and width?
b. Heading information is to appear on its a. Centimeters
own line b. Pixels
c. Heading information has a hyperlink c. Dots per inch
d. Inches
Correct Answers of HTML MCQ
Questions