HTML5/Html5 MCQ Sample Test,Sample questions

Question:
 All html5 tags must ..........

1.Uppercase

2.Lowercase

3.Both Uppercase & Lowercase

4.None of the above

Posted Date:-2022-09-16 05:38:04


Question:
 An article element contains -

1. Text or embedded content

2.Image

3.Audio

4.None of these

Posted Date:-2022-09-16 03:04:53


Question:
 The following HTML4 elements have been removed in HTML5:

1. <applet>

2. <center>

3. <dir>

4. All of the above

Posted Date:-2022-09-16 03:07:26


Question:
 The html5 specification includes ...........

1.Data storage

2.Graphics APIs

3..Other APIs for web apps

4.All of the above

Posted Date:-2022-09-16 05:44:51


Question:
 The __________ element may contain not just links but also other interactive items, including the newly introduced command element.

1. menu

2.meter

3.details

4.progress

Posted Date:-2022-09-16 05:35:16


Question:
 Which of the following attribute triggers event at the start of a drag operation?

1. ondragleave

2.ondrag

3.ondragover

4.ondragstart

Posted Date:-2022-09-16 03:24:11


Question:
 Which of the following attribute triggers event when an element has been dragged to a valid drop target?

1.ondragleave

2.ondrag

3.ondragend

4.ondragenter

Posted Date:-2022-09-16 03:23:04


Question:
 Which of the following attribute triggers event when the browser starts to load the media data?

1. onloadedmetadata

2.onloadstart

3.onmessage

4.onoffline

Posted Date:-2022-09-16 03:25:08


Question:
 Which of the following element is used for or styling HTML5 layout?

1. CSS

2.PHP

3.JavaScript

4.jQuery

Posted Date:-2022-09-16 02:56:04


Question:
 Which of the following input control accepts only numerical value in Web Form 2.0?

1.week

2. time

3.number

4.range

Posted Date:-2022-09-16 03:16:18


Question:
 Which of the following is not a HTML5 added form element?

1. <keygen>

2.<output>

3.<password>

4..<datalist>

Posted Date:-2022-09-16 05:54:18


Question:
 Which of the following is true about 'audio' tag in HTML5?

1. Commonly used audio formats ogg, mp3 and wav are supported.

2.You can use <source> tag to specify media along with media type and many other attributes.

3. An audio element allows multiple source elements and browser will use the first recognized format.

4. All of the above

Posted Date:-2022-09-16 03:20:47


Question:
 _____________ is not a Boolean attribute

1.. Formvalidate

2.Formtarget

3.Novalidate

4.None of the above

Posted Date:-2022-09-16 02:54:59


Question:
 _____________feature was already introduced before HTML5.

1. Video

2.Canvas/SVG

3.Frames

4. All of the above

Posted Date:-2022-09-16 02:57:51


Question:
 _____________is the replacement for cookies in HTML5.

1. Java scripts

2.Web beacons

3. Local Storage

4. All of the above

Posted Date:-2022-09-16 02:44:34


Question:
. Choose the item below that is not an html5 element.

1.footer

2.article

3.wrapper

4.figcaption

Posted Date:-2022-09-16 03:08:46


Question:
. Which of the following element may contain not just links but also other interactive 
items, including the newly introduced command element.

1.meter

2.progress

3.details

4.menu

Posted Date:-2022-09-16 02:51:24


Question:
8. Which of the following element does not support autofocus attribute?

1. <input>

2. <base>

3. <select>

4. both 1 & 2

Posted Date:-2022-09-16 02:53:36


Question:
An article element contains ...........

1. Image

2.Video & Audio

3.Text or embedded content

4. All of the above

Posted Date:-2022-09-16 05:56:00


Question:
An article element contains ............

1. Audio

2.Image

3..Text or embedded content

4.None of the above

Posted Date:-2022-09-16 05:37:01


Question:
Choose the item below that is not an html5 element.

1. article

2.wrapper

3.footer

4.None of the above

Posted Date:-2022-09-16 06:01:18


Question:
hat is the replacement for cookies in HTML5?

1. Local Storage

2.Java scripts

3.Web beacons

4.None of the Above

Posted Date:-2022-09-16 05:10:41


Question:
How many new form elements are introduced in HTML5?

1.2

2.3

3.4

4.7

Posted Date:-2022-09-16 05:12:05


Question:
The default character encoding in HTML5 is.

1.UTF-8

2. UTF-16

3.. UTF-32

4.None of the above

Posted Date:-2022-09-16 05:13:19


Question:
The html5 specification does not includes ........

1.Data storage

2.Graphics APIs

3.Networking

4.Other APIs for web apps

Posted Date:-2022-09-16 05:46:29


Question:
The most interesting new API's in HTML5 are -

1.HTML Geolocation & HTML Application Cache

2.HTML Drag and Drop & HTML Web Workers

3.HTML Local Storage & HTML SSE

4. All of the above

Posted Date:-2022-09-16 03:06:15


Question:
The new form elements are introduced in HTML5 is -

1.2

2.3

3.4

4.None of the above

Posted Date:-2022-09-16 02:45:43


Question:
What are the most interesting new API's in HTML5?

1.HTML Local Storage & HTML SSE

2.HTML Drag and Drop & HTML Web Workers

3.HTML Geolocation & HTML Application Cache

4.All of the above

Posted Date:-2022-09-16 06:10:42


Question:
What are the new form elements introduced in html5?

1.2

2.3

3.4

4.None of the above

Posted Date:-2022-09-16 05:35:58


Question:
What is the correct syntax of doctype in html5?

1.<:/doctype html>

2.<:doctype html>

3.<:!doctype html>

4.<:!DOCTYPE html>

Posted Date:-2022-09-16 05:49:18


Question:
What is the replacement for cookies in HTML5?

1.Java scripts

2.Local Storage

3.Web beacons

4. All of the above

Posted Date:-2022-09-16 05:43:41


Question:
Which among the following browsers have support to html5?

1.Safari

2.Chrome

3..Internet Explorer

4.All of the above

Posted Date:-2022-09-16 05:33:35


Question:
Which browsers does the HTML5 supports?
 

1.Firefox

2.Safari

3. Internet Explorer

4. All the mentioned above

Posted Date:-2022-09-16 02:43:16


Question:
Which element is used to get highlighted text in HTML5?

1.<u>

2.<b>

3..<mark>

4.<highlight>

Posted Date:-2022-09-16 06:11:45


Question:
Which element was not removed by HTML5?

1. <big>

2.<small>

3.<strike>

4.<center>

Posted Date:-2022-09-16 06:07:19


Question:
Which feature was already introduced before HTML5?

1.Video

2.Frames

3. Canvas/SVG

4.Geolocation

Posted Date:-2022-09-16 05:39:20


Question:
Which is not semantic element for text in HTML5?

1. <time>

2.<mark>

3. <article>

4. All of the above

Posted Date:-2022-09-16 03:03:04


Question:
Which of the following are table tags?

1. table, thead, tr, td

2.table, tt, tr, td

3.colspan, table, tr

4.None of the above

Posted Date:-2022-09-16 03:35:43


Question:
Which of the following attribute is used to group elements?

1.item

2.itemprop

3.itemcheck

4.itemgroup

Posted Date:-2022-09-16 03:21:50


Question:
Which of the following attribute specifies a keyboard shortcut to access an element in HTML5?

1.accesskey

2.contextkey

3.contextmenu

4.key

Posted Date:-2022-09-16 05:15:10


Question:
Which of the following attribute specifies the context menu for an element?

1.Key

2.Context

3.Contextmenu

4.Contextcontent

Posted Date:-2022-09-16 03:34:54


Question:
Which of the following browser supports HTML5 in its latest version?

1.Apple Safari

2.Google Chrome

3.Both A & B

4.None of the above

Posted Date:-2022-09-16 03:31:28


Question:
Which of the following element does not support autofocus attribute?

1.<input>

2.<base>

3.<select>

4.None of the above

Posted Date:-2022-09-16 05:47:48


Question:
Which of the following element is used for or styling HTML5 layout?

1. PHP

2.CSS

3.jQuery

4.JavaScript

Posted Date:-2022-09-16 05:41:28


Question:
Which of the following feature is a part of HTML 5?

1.Persistent Local Storage

2.WebSocket

3.Server-Sent Events

4. All of the above

Posted Date:-2022-09-16 03:12:37


Question:
Which of the following input control accepts only numerical value in Web Form 2.0?

1. Time

2.week

3.Number

4.Range

Posted Date:-2022-09-16 03:33:27


Question:
Which of the following is a new input attributes introduced by html5?

1. text

2.date

3.submit buttons

4.checkbox controls

Posted Date:-2022-09-16 05:51:02


Question:
Which of the following is correct about custom attributes in HTML5?

1. A custom data attribute starts with data- and would be named based on your requirement.

2.- You would be able to get the values of these attributes using JavaScript APIs or CSS in similar way as you get for standard attributes.

3. Both of the above.

4.None of the above

Posted Date:-2022-09-16 03:14:47


Question:
Which of the following is correct Content-type header that a server side script should send for SSE in HTML5?

1. Content-Type: text/event-stream

2.Content-Type: text/application-stream

3.Content-Type: text/data-stream

4.None of the above

Posted Date:-2022-09-16 03:19:11


Question:
Which of the following is not a Boolean attribute?

1.Novalidate

2.Formtarget

3.Formvalidate

4.None of the above

Posted Date:-2022-09-16 06:09:11


Question:
Which of the following is not a HTML5 tag?

1. <:track>

2.<:source>

3.<:slider>

4.<:video>

Posted Date:-2022-09-16 05:52:13


Question:
Which of the following is not semantic element for text in HTML5?

1. <wbr>

2.<time>

3..<mark>

4..<article>

Posted Date:-2022-09-16 05:57:54


Question:
Which of the following is true about 'video' tag in HTML5?

1.Ogg files with Thedora video codec and Vorbis audio codec are supported.

2.HTML5 supports video tag which is used to embed a video file in an HTML or XHTML document.

3.The current HTML5 draft specification does not specify which video formats browsers should support in the video tag.

4.All of the above

Posted Date:-2022-09-16 06:02:28


Question:
Which of the following tag automatically focus one particular form field in HTML5?

1. output

2.placeholder

3.autofocus

4.required

Posted Date:-2022-09-16 03:17:22


Question:
Which of the following tag insists to have a value in an input control in HTML5?

1. required

2.output

3.autofocus

4.placeholder

Posted Date:-2022-09-16 05:14:01


Question:
Which of the following tag is used with JavaScript?

1. <table>

2.<canvas>

3. <article>

4. <footer>

Posted Date:-2022-09-16 02:59:09


Question:
Which of the following tag is used with javascript?

1.<table>

2.<article>

3.<canvas>

4.<footer>

Posted Date:-2022-09-16 05:55:14


Question:
Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5?

1.Section

2.Article

3.Header

4.Aside

Posted Date:-2022-09-16 03:32:31


Question:
Which tag is used with javascript?

1.<table>

2.<footer>

3.<article>

4.<canvas>

Posted Date:-2022-09-16 05:40:22


Question:
__tag is used to specify an inline frame.

1.< jframe>

2.< frame>

3.< iframe>

4.< frameset>

Posted Date:-2022-09-16 05:16:29


Question:
__________is not a HTML5 tag.

1. <source>

2. <video>

3. <slider>

4.All of the above

Posted Date:-2022-09-16 02:48:10


Question:
______________ is the correct syntax of doctype in HTML5.

1. </doctype html>

2.<doctype html!>

3.<!doctype html>

4. All of the above

Posted Date:-2022-09-16 03:00:49


More MCQS

  1. HTML Mcq Question 2021
  2. Html5 MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!