HTML MCQS with Answers - Page 7

301) HTML attribute which hides the element?

  1. style attribute
  2. hidden attribute
  3. display attribute
  4. type attribute

302) HTML attribute which sets the value for meter tag which is considered high?

  1. high attribute
  2. value attribute
  3. max attribute
  4. name attribute

303) HTML attribute which sets the URL of web page or document?

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

304) HTML attribute which specifies that script will run once the file has buffered to the limit that it can start playing?

  1. onload attribute
  2. oncanplay attribute
  3. onbuffer attribute
  4. onready attribute

305) HTML attribute which specifies that script will run once the file has buffered completely?

  1. oncanplaythrough attribute
  2. oncomplete attribute
  3. onbuffer attribute
  4. onload attribute

306) HTML attribute which specifies that script will run if the value of element is changed?

  1. ondiffer attribute
  2. onclick attribute
  3. onmove attribute
  4. onchange attribute

307) HTML attribute which specifies that script will run when the element is clicked?

  1. onselect attribute
  2. onkeypress attribute
  3. onhold attribute
  4. onclick attribute

308) HTML attribute which specifies that script will run when the context menu is triggered or initiated?

  1. oncontextmenu attribute
  2. onclick attribute
  3. ontrigger attribute
  4. onfocus attribute

309) HTML attribute which specifies that script will run when the content of element is copied?

  1. onselect attribute
  2. onpaste attribute
  3. oncopy attribute
  4. oncut attribute

310) HTML attribute which specifies that script will run when the user releases a key?

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

311) HTML attribute which specifies that script will run when the element is loaded completely?

  1. onready attribute
  2. oncomplete attribute
  3. data attribute
  4. onload attribute

312) HTML attribute which specifies that script will run when the file is loaded?

  1. onload attribute
  2. onloadeddata attribute
  3. onfetch attribute
  4. oncomplete attribute

313) HTML attribute which specifies that script will run when the meta data of file is loaded?

  1. onloadedmetadata attribute
  2. onloaded attribute
  3. onload attribute
  4. onready attribute

314) HTML attribute which specifies that script will run if the error occurs?

  1. check attribute
  2. onerror attribute
  3. state attribute
  4. onexecute attribute

315) HTML attribute which specifies that script will run when the element gets focused?

  1. onselect attribute
  2. onclick attribute
  3. onfocus attribute
  4. ondrag attribute

316) Which HTML Tag is used when the directionality of text is unknown?

  1. <b>
  2. <aside>
  3. <div>
  4. <bdi>

317) A caption for a figure element is defined using?

  1. <h3>
  2. <caption>
  3. <figcaption>
  4. <figure>

318) Italic text is defined using which HTML Tag?

  1. <italic>
  2. <i>
  3. <b>
  4. <li>

319) The HTML <hr> tag is used for.

  1. horizontal row
  2. vertical ruler
  3. heading
  4. horizontal ruler

320) Which attribute is used for favicon?

  1. href
  2. title
  3. rel
  4. alt

321) Which HTML tag is used for Non-English language?

  1. <b>
  2. <pre>
  3. <embed>
  4. <bdo>

322) Correct syntax of doctype in HTML5 is?

  1. <+DOCTYPE html!>
  2. <!DOCTYPE html>
  3. </DOCTYPE html>
  4. <-DOCTYPE html>

323) IDE stands for?

  1. Internet Development Environment
  2. Integrated Development Environment
  3. Integrated Design Environment
  4. Internet Design Environment

324) Right way to insert a background image in HTML is?

  1. <body background = "image.jpg">
  2. <img background = "image.jpg">
  3. <div = "image.jpg">
  4. All of the above

325) The table tags are?

  1. colspan, table, tr, td
  2. table, thead, tr, td
  3. tk, tt, tr, td
  4. thead, div, td, tz

326) HTML Tag which defines section of website or html document?

  1. HTML div tag
  2. HTML section tag
  3. HTML article tag
  4. HTML header tag

327) HTML Tag which defines drop down list?

  1. HTML option tag
  2. HTML select tag
  3. HTML menu tag
  4. HTML nav tag

328) HTML Tag which defines smaller text?

  1. HTML small tag
  2. HTML span tag
  3. HTML b tag
  4. HTML p tag

329) HTML Tag which defines media resources for media elements?

  1. HTML link tag
  2. HTML src tag
  3. HTML source tag
  4. HTML script tag

330) HTML Tag used to define sub-scripted text is?

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

331) HTML Tag used to define a single cell of table is?

  1. HTML td tag
  2. HTML tc tag
  3. HTML th tag
  4. HTML tb tag

332) HTML Tag used to define a template is?

  1. HTML table tag
  2. HTML time tag
  3. HTML template tag
  4. HTML th tag

333) HTML Tag used to define a text input element is?

  1. HTML text tag
  2. HTML input tag
  3. HTML textarea tag
  4. HTML p tag

334) HTML Tag used to define footer of table is?

  1. HTML thead tag
  2. HTML tfoot tag
  3. HTML table tag
  4. HTML footer tag

335) HTML Tag used to define header cell of table is?

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

336) HTML attribute which disables the element or group of elements?

  1. focus attribute
  2. type attribute
  3. disabled attribute
  4. char attribute

337) HTML attribute which defines if element is drag able or not?

  1. moveable attribute
  2. draggable attribute
  3. title attribute
  4. name attribute

338) HTML attribute which defines if dragged data is copied, linked or moved when dropped?

  1. type attribute
  2. data attribute
  3. url attribute
  4. dropzone attribute

339) The right way to use the width attribute in HTML is.

  1. width=100
  2. WIDTH="100"
  3. width="100"
  4. WIDTH=100

340) Which of the following statement is true about Attributes?

  1. Attribute values must be quoted
  2. Attribute names must be in uppercase
  3. Attribute values should not be quoted
  4. None

341) Copyright sign is?

  1. ©
  2. <
  3. &
  4. >

342) Which HTML tag is used for line break?

  1. <br>
  2. break tag
  3. b tag
  4. li tag

343) Which HTML tag is used to define a button?

  1. <button>
  2. a tag
  3. p tag
  4. b tag

344) HTML attribute which tells about the type of files that the website server accepts is?

  1. src attribute
  2. allow attribute
  3. href attribute
  4. accept attribute

345) HTML attribute which specifies the character encodings is?

  1. alt attribute
  2. accept-charset attribute
  3. charset attribute
  4. accept attribute

346) HTML attribute which specifies that script will run when the user paste something to the element?

  1. oncut attribute
  2. oncopy attribute
  3. oninput attribute
  4. onpaste attribute

347) HTML attribute which specifies that script will run when the media pauses due to any other reason?

  1. onstop attribute
  2. onpause attribute
  3. onplay attribute
  4. onbuffer attribute

348) HTML attribute which specifies that script will run when the pointer of mouse moves over an element?

  1. onmousemove attribute
  2. onmouseover attribute
  3. onmouseout attribute
  4. onmouseenter attribute

349) HTML attribute which specifies that script will run when the pointer of mouse is released over an element?

  1. onmouseup attribute
  2. onmouserelease attribute
  3. onmouseleave attribute
  4. onmouseclick attribute

350) HTML attribute which specifies that script will run when the mouse wheel is scrolled over any element?

  1. onmousemove attribute
  2. onmousescroll attribute
  3. onmousewheel attribute
  4. onmousedrag attribute
1 2 3 4 5 6 7 8