Test your knowledge now with our Online Quizzes, Q&A and MCQs! HTML Quick Study Episode- 11. Take part in an interactive quiz experience with our online quizzes, Q&A and MCQs. Try it out now Online Quiz, Q&A & MCQ.
1. What is the correct html code for inserting a background image?
a. <Body background = “image jpg”>
b. <body = “image.jpg”>
c. <background = “image.jpg”>
d. <body background = image.jpg>
View Answer
a. <Body background = “image jpg”>
2. Which option will match, while making bulleted list?
a. Square, disc, polygon
b. triangle, disc, circle
c. triangle, square, circle
d. disc, circle, square
View Answer
d. disc, circle, square
3. What is the meaning of increase the cell padding?
a. Increase the thickness of table border
b. Increase the space between cells
c. Increase the distance between cell and content
d. Increase the no of cells
View Answer
c. Increase the distance between cell and content
4. Which property of cells will how many rows a cell should span?
a. Colspan = 5
b. Rowspan = 5
c. Cellspan = 5
d. Span = 5
View Answer
b. Rowspan = 5
5. Which web language give more control over the HTML elements and allows them to change at any time without returning to the Web server?
a. BML
b. XML
c. HTML
d. DHTML
View Answer
d. DHTML
6. <a> tag in HTML
a. Alters a hyperlink
b. Defines a hyperlink
c. Deletes a hyperlink
d. Accuses a hyperlink
View Answer
b. Defines a hyperlink
7. Which tag defines value of a term in description list?
a. <a>
b. <val>
c. <del>
d. <dd>
View Answer
d. <dd>
8. A control’s ______ is given by its name attribute.
a. Control name
b. Area
c. Sphere
d. Quotation
View Answer
a. Control name
11. What is the full form of DHTML?
a. Digital Host markup language
b. Dynamic hypertext markup language
c. Digital higher text markup language
d. Dynamic higher markup language
View Answer
b. Dynamic hypertext markup language
13. The attribute of <form> tag
a. Method
b. Action
c. Both A and B
d. None of these
View Answer
c. Both A and B
14. What are empty elements and is it valid?
a. No, there is no such terms as empty elements
b. Empty elements are elements with no data
c. No, it is not valid to use empty element
d. None of these
View Answer
b. Empty elements are elements with no data
15. Which of the following attributes of text box control allow to limit the maximum character?
a. size
b. len
c. maxlength
d. All of these
View Answer
c. maxlength
17. Which of the following is a container tag?
a. <select>
b. <body>
c. <input>
d. Both A and B
View Answer
d. Both A and B
18. The attribute, which define the relationship between current document and HREF URL is
a. REL
b. URL
c. REV
d. All of these
View Answer
a. REL
19. <DT> tag is designed to fit a single line of our web page but <DD> tag will accept a
a. line of text
b. full paragraph
c. word
d. request
View Answer
b. full paragraph
20. Character encoding is
a. method used to represent numbers in a character
b. method used to represent character in a number
c. a system that consists of a code which pairs each character with a pattern, sequence of natural numbers of electrical pulse in order to transmit the data
d. none of these
View Answer
c. a system that consists of a code which pairs each character with a pattern, sequence of natural numbers of electrical pulse in order to transmit the data
21. Correct HTML to left align the content inside a table cell is
a. <tdleft>
b. <td raligh = “left”>
c. <td align = “left”>
d. <td leftalign>
View Answer
c. <td align = “left”>
22. The tag which allows you to rest other html tags within the description is
a. <th>
b. <td>
c. <tr>
d. <caption>
View Answer
d. <caption>
23. <base> tag is designed to appear only between
a. <head>
b. <title>
c. <body>
d. <form>
View Answer
a. <head>
24. How can you open a link in a new browser window?
a. <a href =”url” target=”new”>
b. <a href= “url” target=”_blank”>
c. <a href =”url” .new>
d. <a href =”url” target=”open”>
View Answer
b. <a href= “url” target=”_blank”>
25. A much better approach to establish the base URL is to use
a. BASE element
b. HEAD element
c. Both A and B
d. None of these
View Answer
a. BASE element
27. The tag used to create hypertext relationship between current document and another URL is
a. <ISINDEX>
b. <A>
c. <LINK>
d. None of these
View Answer
c. <LINK>
28. The text inside the <text area> tag works like
a. <p> formatted text
b. <T> formatted text
c. <PRE> formatted text
d. None of these
View Answer
c. <PRE> formatted text
29. Main container for <TR> ,<TD> and <TH> is
a. <Table>
b. <Group>
c. <data>
d. All of these
View Answer
a. <Table>
30. The body tag usually used after
a. Title tag
b. head tag
c. EM tag
d. Form tag
View Answer
b. head tag
32. Which of the following is a valid Name?
a. <_person>
b. <123 person>
c. Both A and B
d. None of these
View Answer
a. <_person>
33. Who is making the web standard?
a. The world wide web consortium
b. Mozilla
c. Google
d. Microsoft
View Answer
a. The world wide web consortium
34. Choose the correct HTML element to define important text
a. <br>
b. <strong>
c. <i>
d. <important>
View Answer
b. <strong>
35. Choose the correct HTML element to define emphasized text
a. <em>
b. <italic>
c. <i>
d. <b>
View Answer
a. <em>
36. Which doctype is correct for HTML5?
a. <!DOCTYPE html>
b. <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 5.0 “https://www.prepazu.com>
c. <!DOCTYPE HTML5>
d. <!doctype html5.0>
View Answer
a. <!DOCTYPE html>
37. Which html element is used to specify a footer for a document or section?
a. <footer>
b. <section>
c. <bottom>
d. <head>
View Answer
a. <footer>
38. What is the correct html element for playing video files?
a. <video>
b. <media>
c. <movie>
d. <mp4>
View Answer
a. <video>
39. What is the correct HTML element for playing audio files?
a. <audio>
b. <sound>
c. <mp3>
d. <music>
View Answer
a. <audio>
40. The HTML global attribute, “contenteditable” is used to:
a. Specify whether the content of an element should be editable or not
b. Return the position of the first found occurrence of content inside a string
c. Update content from the server
d. Specifies a context menu for an element
View Answer
a. Specify whether the content of an element should be editable or not
41. In HTML, onblur and onfocus are:
a. Event attributes
b. html elements
c. style attributes
d. blur image
View Answer
a. Event attributes
42. The HTML <canvas> element is used to:
a. draw graphics
b. create draggable elements
c. manipulate data in MySQL
d. display database records
View Answer
a. draw graphics
43. In HTML, which attribute is used to specify that an input field must be filled out?
a. formvalidate
b. validate
c. required
d. placeholder
View Answer
c. required
44. Which input type defines a slider control?
a. range
b. slider
c. search
d. controls
View Answer
a. range
45. Which HTML element is used to display a scalar measurement within a rang?
a. <measure>
b. <range>
c. <gauge>
d. <meter>
View Answer
d. <meter>
46. Which HTML element defines navigation links?
a. <nav>
b. <navigation>
c. <navigate>
d. <direction>
View Answer
a. <nav>
47. In HTML, what does the <aside> element define?
a. Content aside from the page content
b. The ASCII character-set; to send information between computers on the internet
c. A navigation list to be shown at the left side of the page
d. All of these
View Answer
a. Content aside from the page content
48. HTML uses
a. User defined tags
b. Pre-specified tags
c. Fixed tags defined by the language
d. Tags only for linking
View Answer
c. Fixed tags defined by the language
50. Fundamental HTML Block is known as _____
a. HTML body
b. HTML tag
c. HTML Attribute
d. HTML Element
View Answer
b. HTML tag
51. Apart from <b> tag, what other tag may text bold?
a. <fat>
b. <strong>
c. <black>
d. <emp>
View Answer
b. <strong>
52. HTML web pages can be read and rendered by______
a. Compiler
b. Server
c. Web Browser
d. Interpreter
View Answer
c. Web Browser
53. Tags and texts that are not directly displayed on the page are written in ______ section.
a. <head>
b. <title>
c. <body>
d. <html>
View Answer
a. <head>
54. Which of the following is not an attribute of <form>tag
a. action
b. method
c. name
d. url
View Answer
d. url
55. Choose the correct HTML tag to make a text italic
a. ⁢italic>
b. ⁢it>
c. <i>
d. <il>
View Answer
c. <i>
56. To start a list using circles, use
a. <ul type= “circle”>
b. <ul Type= “round”
c. <ul = “round”>
d. <ul “round”>
View Answer
d. <ul “round”>
57. A simple text file which talls the browser what to cache is known As a
a. input files
b. Output Files
c. A Manifest File
d. HTML file
View Answer
d. HTML file
58. Which HTML Tag is used to define a client-side script such as the javaScript?
a. <unscript>
b. <script>
c. Both A and B
d. None of these
View Answer
b. <script>
59. Which html attribute is used to provide an advisory text about an element or its contents.
a. Dir
b. Title
c. Tooltip
d. None of these
View Answer
c. Tooltip
60. _____ is the XML Equivalent To Strict HTML 4.01
a. XHTML 1.0 Frameset
b. XHTML 1.0 Transitional
c. XHTML 1.0 Strict
d. None of these
View Answer
c. XHTML 1.0 Strict
61. Which are the Objects Used for storing Data on the client provided by The HTML Local Storage?
a. Window.localStorage
b. Windows.sessionStorage
c. Window.localSession
d. Both A and B
View Answer
d. Both A and B
62. Which HTML Element is used to define the description data?
a. <dt>
b. <dd>
c. <li>
d. <dl>
View Answer
b. <dd>
63. Which of the following is a Declaration for an HTML Document?
a. <html>…..</html>
b. <!DOCTYPE html>
c. <body>..</body>
d. <p>….</p>
View Answer
b. <!DOCTYPE html>
64. If you want to change the text colour to Red which of the following Tags will you use?
a. <body text =Red>
b. <body Bgcolor=Red>
c. <body Colour = Red>
d. None of these
View Answer
a. <body text =Red>
65. HTML links are Defined with <a> Tag Address Is Specified By Attribute
a. Href
b. Hlink
c. Src
d. src-link
View Answer
a. Href
66. The first tag inside <Table> tag is
a. <head>
b. <caption>
c. <th>
d. <td>
View Answer
b. <caption>
67. Which program do you need to write HTML?
a. A graphics program
b. Any text editor
c. HTML development suite 4
d. All of these
View Answer
b. Any text editor
68. In HTML, tags that include both on and off tag are called
a. comment tag
b. document tag
c. container tag
d. None of these
View Answer
c. container tag
70. Which tag can set the background color for your page?
a. <body>
b. <font>
c. <head>
d. <title>
View Answer
a. <body>
71. The <small> and <big> tags are special in what way?
a. They are for images only
b. They work on anything
c. They can be repeated
d. None of these
View Answer
c. They can be repeated
72. To start a list using circles, use
a. <ul “round”>
b. <ul type = “circle”>
c. <<ul type= “round”>
d. <ul = “round”>
View Answer
b. <ul type = “circle”>
73. The tag which allows some web server search engines to search your web page
a. <search>
b. <ISINDEX>
c. <HEAD>
d. <link>
View Answer
b. <ISINDEX>
75. Which of the following will not be found in the <head> section?
a. <table>
b. <Metatags>
c. <Title>
d. None of these
View Answer
a. <table>
76. If you create an HTML page in word processor
a. save it with binary file
b. save it with WMF file
c. save it with ASCII text file
d. All of these
View Answer
c. save it with ASCII text file
77. What will be the added by using <td> and </td> tag?
a. rows
b. steps
c. cell
d. columns
View Answer
d. columns
78. Which property tells how many rows a cell should span?
a. colspan=n
b. rowspan=n
c. Both A and B
d. None of these
View Answer
b. rowspan=n
79. To set the font for a single link, where do you add the <font></font>tags?
a. In the <head> tag
b. Outside the <a> and </a> tags
c. Inside the <a> and </a> tags
d. None of these
View Answer
c. Inside the <a> and </a> tags
81. The MIME text file is saved with
a. CSS extension
b. HTML extension
c. HMT extension
d. None of these
View Answer
b. HTML extension
82. The attribute used choose the type of font in HTML is?
a. Character
b. Face
c. Text-type
d. All of these
View Answer
b. Face
83. To start a list at the count of 3, use
a. <ol begin= “3”>
b. <ol list= “3”>
c. <ol start= “3”>
d. <olnum= “3”>
View Answer
c. <ol start= “3”>
84. To change the size of an image in HTML, use
a. Pliers
b. Bigger and smaller
c. Top and Bottom
d. Height and width
View Answer
d. Height and width
85. All HTML documents will be basically
a. Graphs
b. Text
c. Pictures
d. None of these
View Answer
b. Text
86. Which of these is not a valid HTML?
a. <fontface= “verdana”>
b. <font face= “verdana”>
c. <font face = “verdant, arial”>
d. All of these
View Answer
a. <fontface= “verdana”>
87. To create a list using lowercase letters, use
a. <ol “a”>
b. <ol = “a”>
c. <ol letter=”a”>
d. <ol type = “a”>
View Answer
d. <ol type = “a”>
88. Defining clickable subareas on an image is called
a. image linking
b. multiple mapping
c. image mapping
d. none of these
View Answer
c. image mapping
89. The attribute used to create the actual section within the current HTML document is
a. link
b. href
c. base
d. name
View Answer
d. name
90. When images are used as links they get a blue border.
a. Always
b. Never
c. Unless border is set to zero
d. none of these
View Answer
c. Unless border is set to zero
91. To start a numbered list with regular numerals, use
a. <ol type= “I”>
b. <ol type= “a”>
c. <ol type = “A”>
d. <ol type= “1”>
View Answer
d. <ol type= “1”>
92. The format of the <base> tag is
a. <href = “ URL”>
b. <base = “URL”>
c. <base URL =>
d. <base href = “https://www.prepazu.com>
View Answer
d. <base href = “https://www.prepazu.com>
93. The default value of Border attribute is
a. 1 pixel
b. 2 pixel
c. pixel
d. 4 pixel
View Answer
a. 1 pixel
94. To set the color for table borders, use____
a. bgcolor= #003300
b. bgimage= #112233
c. bordercolor= #112233
d. tablecolor= # 003344
View Answer
c. bordercolor= #112233
95. The background image will scroll when the user scrolls down the page, you add which property to the <body> tag?
a. bgproperties = “fixed”
b. bgproperties = “move”
c. bgproperties = “holdstill”
d. None of these
View Answer
c. bgproperties = “holdstill”
96. The most basic element of any html page is
a. ASCII text
b. text
c. BCD text
d. None of these
View Answer
a. ASCII text
97. To separate single list, use
a. <ol> and </ol>
b. <ul> and </ul>
c. <li> and </li>
d. All of these
View Answer
c. <li> and </li>
99. Why should you specify a background color if you are using an image for the actual background of your page?
a. So the text shown up better
b. In case the image doesn’t fit right
c. The background color will be shown until the image loads
d. None of these
View Answer
c. The background color will be shown until the image loads
100. Which attribute is used to name an element uniquely?
a. class
b. id
c. dot
d. all of these
View Answer
b. id