MCQ quiz on HTML5 multiple choice questions and answers on HTML5 MCQ questions quiz on HTML5 objectives questions to prepare for written test on web design and graphics design for freshers and it experts experience interviews.

HTML5 MCQ Questions and Answers Quiz

1. The <!DOCTYPE> declaration in HTML5 is

  1. <!DOCTYPE html!>
  2. <!DOCTYPE html;>
  3. <!DOCTYPE html>
  4. <!DOCTYPE html:>

2. Which element in HTML5 is used to indicate that text has been added to the document.

  1. <add>
  2. <insert>
  3. <ins>
  4. <fill>

3. Which of the following input control is used for input fields that should contain an URL address in Web Form 2.0?

  1. email
  2. url
  3. range
  4. number

4. The HTML5 element used to draw graphics via scripting is

  1. <figcaption>
  2. <mark>
  3. <canvas>
  4. <header>

5. The value of -------------- attribute is a URL that designates a source document or message for the information inserted.

  1. href
  2. src
  3. msg
  4. cite

6. <legend> is used to assign a caption to a set of form fields as defined by a ------------------ element.

  1. fieldset
  2. caption
  3. fieldgroup
  4. assign

7. The element to specify a list of predefined options for input controls is

  1. <embed>
  2. <datalist>
  3. <source>
  4. <track>

8. ---------------- attribute used in <table> element sets the width, in pixels, between the edge of a cell and its individual cells.

  1. cellpadding
  2. edgespacing
  3. colspacing
  4. cellspacing

9. Which value of Socket.readyState atribute of WebSocket indicates that the connection has been closed or could not be opened?

  1. 1
  2. 2
  3. 3

10. The ----------- attribute specifies the number of columns in the table and is used to help quickly calculate the size of the table.

  1. col
  2. numcol
  3. num
  4. tablecol

MCQ Multiple Choice Questions and Answers on HTML5

HTML5 Question and Answer