Explore topic-wise MCQs in Html.

This section includes 34 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

Which attribute allows to show an image while downloading a video?

A. controls
B. poster
C. preload
D. none
Answer» C. preload
2.

Which one is not a very good developer support?

A. Opera
B. Internet Explorer
C. Firefox
D. Chrome
Answer» C. Firefox
3.

Which of the following is not the event of WebSocket API?

A. Close
B. Message
C. Send
D. Error
Answer» D. Error
4.

WAVE PCM is not supported by _________

A. Chrome
B. Firefox
C. Safari
D. Internet Explorer
Answer» B. Firefox
5.

Which browser does not support MP4 H.264 format?

A. Opera
B. Chrome
C. Safari
D. Internet Explorer
Answer» B. Chrome
6.

Consider the following markup. What is the need to add multiple file formats for the same file?

A. To provide fallback support.
B. To address the media support problem.
C. Both a and b
D. None of the mentioned
Answer» D. None of the mentioned
7.

State true or False. “Prior to HTML5 in web market, traditionally, multimedia has been inserted with the concept of tag-based multimedia back”.

A. True
B. False
C. May be
D. Can't say
Answer» C. May be
8.

What more needs to be achieved to fulfil the promises of the Open Web Platform?

A. Security and Privacy
B. Performance and Tuning
C. Media and Real-Time Communications
D. All of the mentioned
Answer» E.
9.

Consider the markup. Which HTML5 element can replace the "?" ?

A. <audio>
B. <video>
C. <media>
D. both a and b
Answer» E.
10.

Which element is used to create multi-line text input?

A. text
B. textarea
C. submit
D. radio button
Answer» C. submit
11.

Which option is not available in HTMLMinifier?

A. remove attribute quotes
B. use the short doctype
C. remove empty elements
D. replace <strong> with <b>
Answer» E.
12.

HTMLMinifier is written in ________

A. JavaScript
B. Java
C. C++
D. C
Answer» B. Java
13.

The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.

A. fill()
B. stroke()
C. clip()
D. none of the mentioned
Answer» B. stroke()
14.

week attribute defines ____________

A. week
B. year
C. week and year
D. week, month and year
Answer» D. week, month and year
15.

An API is an application programming interface consisting of methods and properties which allow the author to get or set data or execute commands to the user agent.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
16.

Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?

A. closePath()
B. beginPath()
C. moveTo(x, y)
D. none of the mentioned
Answer» C. moveTo(x, y)
17.

SVG also stands for Scalar Vector Graphics

A. True
B. False
C. May be
D. Can't say
Answer» C. May be
18.

CSSMin is written in ___________

A. C++
B. Java
C. PHP
D. C
Answer» C. PHP
19.

What is the default type of ‘type’ attribute of element?

A. Text
B. Password
C. Numerals
D. Special Characters
Answer» B. Password
20.

For clearing all the settings which function should be called?

A. localStorage.remove(key)
B. localStorage.clear()
C. localStorage.remove()
D. localStorage.clearAll()
Answer» C. localStorage.remove()
21.

State whether the given statement is true or false. “HTML5 brings to the Web video and audio tracks without needing plugins”.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
22.

Flac is supported by ___________

A. Firefox
B. Chrome
C. Safari
D. Internet Explorer
Answer» B. Chrome
23.

What is the limit of character storage for chrome 23.0 in sessionStorage?

A. 510 k
B. unlimited
C. 1021 k
D. 2.49 M
Answer» B. unlimited
24.

For duplex communication we can’t use ____________

A. Long Polling
B. HTML5
C. JavaScript
D. Streaming
Answer» D. Streaming
25.

Which of the following is not the storageEvent interface?

A. event.newValue
B. event.url
C. event.key
D. event.clear
Answer» E.
26.

For playing Flash Video you need to convert video into the ___________ format.

A. FLV
B. BlueRay
C. WebM
D. MPEG
Answer» B. BlueRay
27.

WebM format is not supported by _______

A. Opera
B. Android
C. Safari
D. Firefox
Answer» D. Firefox
28.

Which of the following is not used with password attribute?

A. name
B. size
C. maxlength
D. min
Answer» E.
29.

tel attribute is supported by the _________ browser.

A. Chrome
B. Safari
C. Opera
D. Internet Explorer
Answer» C. Opera
30.

Which attribute is not used on new forms?

A. size
B. text
C. name
D. maxlength
Answer» B. text
31.

MP3 format is not supported by ____________

A. Firefox
B. Chrome
C. Safari
D. Opera
Answer» E.
32.

What can’t be the value of a quality attribute?

A. autolow
B. low
C. high
D. automedium
Answer» E.
33.

_____________ defines a group of content that should be used as a figure and may be labeled by a legend element.

A. figure
B. details
C. output
D. aside
Answer» B. details
34.

Which of the following HTML 4 attributes is removed in HTML5

A. text
B. rules
C. link
D. all of the mentioned
Answer» E.