HTML MCQS with Answers - Page 3

101) HTML attribute which defines the maximum value?

  1. long attribute
  2. max attribute
  3. high attribute
  4. greater attribute

102) HTML attribute which specifies the maximum no of characters that are allowed for input tag or textarea tag?

  1. length attribute
  2. max attribute
  3. maxlength attribute
  4. charset attribute

103) HTML attribute which explains that which device is optimal for the linked web page or document?

  1. link attribute
  2. type attribute
  3. media attribute
  4. src attribute

104) HTML Tag used to define heading for details element is?

  1. HTML summary tag
  2. HTML h1 tag
  3. HTML span tag
  4. HTML object tag

105) HTML Tag used to define super-scripted text is?

  1. HTML sub tag
  2. HTML span tag
  3. HTML ins tag
  4. HTML sup tag

106) HTML Tag used to define container for SVG graphics is?

  1. HTML canvas tag
  2. HTML svg tag
  3. HTML img tag
  4. HTML object tag

107) HTML Tag used to create HTML tables is?

  1. HTML table tag
  2. HTML th tag
  3. HTML tr tag
  4. HTML td tag

108) HTML Tag used to define body of table is?

  1. HTML tbody tag
  2. HTML table tag
  3. HTML body tag
  4. HTML tb tag

109) HTML attribute which tells where to send the form data when form is submitted?

  1. formaction attribute
  2. link attribute
  3. url attribute
  4. src attribute

110) HTML attribute which defines one or more header cells connected to a cell?

  1. cell attribute
  2. head attribute
  3. colspan attribute
  4. headers attribute

111) HTML attribute which sets the height of element?

  1. width attribute
  2. length attribute
  3. height attribute
  4. style attribute

112) Default list style of unordered list is?

  1. square
  2. triangle
  3. disc
  4. rectangle

113) Which HTML tag is used to define options in a drop-down selection list?

  1. <select>
  2. <li>
  3. <dropdown>
  4. <option>

114) The <main> tag include?

  1. Nav
  2. Article
  3. Sidebar
  4. Footer

115) Default list style of ordered list is?

  1. decimal
  2. alphabetical
  3. triangle
  4. circle

116) Which of the following is not an empty HTML element?

  1. <hr>
  2. <area>
  3. <br>
  4. <div>

117) What is correct way to create an e-mail link?

  1. <a href = "abc@gmail.com">
  2. <mail href ="abc@gmail.com">
  3. <a href ="mail to: abc@gmail.com">
  4. <a url = "abc@gmail.com">

118) The latest HTML standard is known as?

  1. HTML 4.0
  2. XTML
  3. SGML
  4. HTML 5.0

119) The map definition file is stored in which folder?

  1. BIN
  2. CGI-BIN
  3. RECYCLE-BIN
  4. Upload

120) Which HTML tag defines a list of pre defined options for input controls?

  1. data tag
  2. <datalist>
  3. li tag
  4. input tag

121) Which HTML tag defines a description of a term in a description list?

  1. dl tag
  2. li tag
  3. dd tag
  4. ol tag

122) Which HTML tag defines a deleted text?

  1. div tag
  2. i tag
  3. b tag
  4. del tag

123) HTML attribute which specifies that script will run when the page is unloaded?

  1. onload attribute
  2. unload attribute
  3. onunload attribute
  4. onready attribute

124) HTML attribute which specifies that script will run when the volume of audio or video media file is changed?

  1. volume attribute
  2. sound attribute
  3. onvolumechange attribute
  4. onchange sattribute

125) HTML attribute which defines how the video or file should load when the page is loaded?

  1. preload attribute
  2. onload attribute
  3. video attribute
  4. type attribute

126) HTML attribute which defines that element is read-only element?

  1. read attribute
  2. readonly attribute
  3. data attribute
  4. title attribute

127) HTML Tag which defines paragraph element?

  1. HTML paragraph tag
  2. HTML h1 tag
  3. HTML span tag
  4. HTML p tag

128) HTML Tag which defines parameter for object?

  1. HTML paragraph tag
  2. HTML p tag
  3. HTML param tag
  4. HTML nav tag

129) HTML Tag which defines container for more than one image resources?

  1. HTML img tag
  2. HTML object tag
  3. HTML picture tag
  4. HTML embed tag

130) HTML Tag which defines pre-formatted text?

  1. HTML pre tag
  2. HTML p tag
  3. HTML param tag
  4. HTML hr tag

131) HTML Tag which represent the progress of particular task?

  1. HTML meter tag
  2. HTML progress tag
  3. HTML input tag
  4. HTML br tag

132) HTML attribute which specifies that script will run when the anchor part of URL is changed?

  1. onchange attribute
  2. url attribute
  3. href attribute
  4. onhashchange attribute

133) HTML attribute which specifies that script will run when user will enter some input for element?

  1. oninput attribute
  2. onenter attribute
  3. focus attribute
  4. onfocus attribute

134) HTML attribute which specifies that script will run when the element is invalid?

  1. onchange attribute
  2. oninvalid attribute
  3. invalid attribute
  4. name attribute

135) HTML attribute which specifies that script will run when the user is pressing a key?

  1. onkeyup attribute
  2. onkeydown attribute
  3. onclick attribute
  4. onpress attribute

136) HTML Tag used to define header of table is?

  1. HTML head tag
  2. HTML header tag
  3. HTML thead tag
  4. HTML th tag

137) HTML Tag used to define time and date is?

  1. HTML date tag
  2. HTML input tag
  3. HTML calendar tag
  4. HTML time tag

138) HTML Tag used to define title of web page is?

  1. HTML title tag
  2. HTML h1 tag
  3. HTML main tag
  4. HTML head tag

139) Which attribute is used to define the unique value for an HTML element?

  1. class
  2. name
  3. id
  4. type

140) Which HTML element should be used as a sidebar?

  1. section
  2. header
  3. nav
  4. aside

141) The meta tag defines the Metadata that is not visible to the users.

  1. TRUE
  2. FALSE
  3. Maybe
  4. None

142) Which part of HTML document contains the metadata?

  1. body tag
  2. head tag
  3. title tag
  4. html tag

143) HTML attribute which defines where to send the submitted form data is?

  1. action attribute
  2. href attribute
  3. url attribute
  4. src attribute

144) HTML attribute which defines the alternative text if the image is missing?

  1. title attribute
  2. alt attribute
  3. name attribute
  4. main attribute

145) HTML attribute which execute the script asynchronously?

  1. script attribute
  2. async attribute
  3. sync attribute
  4. defer attribute

146) HTML attribute which enables the browser to display previously typed text?

  1. auto attribute
  2. autocomplete attribute
  3. type attribute
  4. title attribute

147) HTML attribute which enables element to automatically get focused when the page loads is?

  1. autocomplete attribute
  2. autofocus attribute
  3. focus attribute
  4. color attribute

148) HTML attribute which specifies that the audio or video should automatically play after the page is loaded?

  1. autoplay attribute
  2. autocomplete attribute
  3. focus attribute
  4. sync attribute

149) To define keyboard input keys we use?

  1. input tag
  2. key tag
  3. kbd tag
  4. code tag

150) HTML label tag is used for?

  1. For headings
  2. For span tags
  3. To make labels for input html elements
  4. For menu items
1 2 3 4 5 6 7 8