Explore topic-wise MCQs in Testing Subject.

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

1.

The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe

A. allow-forms
B. seamless
C. embed
D. none of the mentioned
Answer» C. embed
2.

Which of the following is not a type of attribute for input tag?

A. day
B. week
C. month
D. time
Answer» B. week
3.

Which of the following element is used for canvas graphics?

A. <paint>
B. <canvas>
C. <graphic>
D. <css>
Answer» C. <graphic>
4.

In HTML Audio/Video DOM, __________ returns a TextTrackList object representing the available text tracks.

A. readyState
B. startDate
C. videoTracks
D. textTracks
Answer» E.
5.

In HTML Audio/Video DOM, __________ returns a MediaError object representing the error state of the audio/video.

A. ended
B. seeking
C. error
D. mediaGroup
Answer» D. mediaGroup
6.

HTML Links can be styled using ___________.

A. CSS
B. JavaScript
C. XML
D. PHP
Answer» B. JavaScript
7.

In HTML Audio/Video DOM, __________ sets or returns the volume of the audio/video.

A. src
B. volume controls
C. volume
D. video Tracks
Answer» D. video Tracks
8.

Which tag is used to defines multiple media resources for media elements audio and video ?

A. <source>
B. <canvas>
C. <audio>
D. None of the mentioned
Answer» B. <canvas>
9.

Which of the following tag is used for audio in HTML5 ?

A. <bgsound>
B. <audio>
C. <video>
D. <canvas>
Answer» C. <video>
10.

In HTML Audio/Video DOM, __________ returns a TimeRanges object representing the buffered parts of the audio/video.

A. preload
B. networkState
C. buffered
D. controller
Answer» D. controller
11.

In HTML Audio/Video DOM, __________ sets or returns the CORS settings of the audio/video.

A. currentTime
B. duration
C. defaultPlaybackRate
D. crossOrigin
Answer» E.
12.

Default attribute value of "target" is ______________ in HTML.

A. _top
B. _blank
C. _self
D. _parent
Answer» D. _parent
13.

In HTML Audio/Video DOM, __________ sets or returns the default speed of the audio/video playback.

A. currentTime
B. duration
C. defaultPlaybackRate
D. playbackRate
Answer» D. playbackRate
14.

Which of the following HTML Video – Media Type is not supported in IE?

A. WebM
B. MP4
C. Ogg
D. None of the mentioned
Answer» D. None of the mentioned
15.

Which of the following is not a HTML5 tag?

A. <video>
B. <source>
C. <track>
D. <slider>
Answer» E.
16.

_________ attribute specifies what media/device the linked document is optimized for ?

A. device
B. media
C. name
D. href
Answer» C. name
17.

________ attribute is used to specify MIME type of linked document ?

A. Rev Attribute
B. Type Attribute
C. Media Attribute
D. MIME Attribute
Answer» C. Media Attribute
18.

Which of the following is incorrect value provided to "rel" attribute of Anchor Tag ?

A. previous
B. license
C. help
D. bookmark
Answer» B. license
19.

Relationship Between the Current document and the Linked document is specified using ___________ attribute.

A. href
B. relation
C. rel
D. target
Answer» D. target
20.

Which of the Anchor Attribute is used to specify the language of the linked document ?

A. alang
B. None of these
C. lang
D. hreflang
Answer» E.
21.

_________ attribute is used to specify , where to open the linked document.

A. target
B. coords
C. rel
D. pos
Answer» B. coords
22.

A linked page using anchor tag is normally displayed in the ____________.

A. New Window
B. Current Window
C. None of these
D. New Tab
Answer» C. None of these
23.

Which of the Attribute(s) Cannot be Present if the href attribute is not present ?

A. target
B. hreflang
C. rel
D. All of these
Answer» E.
24.

Default color of active link in browser is ____________.

A. red
B. blue
C. green
D. brown
Answer» B. blue
25.

Visited Link in Mozilla Firefox is Generally shown in __________ Color.

A. Brown
B. Purple
C. Blue
D. Red
Answer» C. Blue
26.

Default Style and Color of Unvisited Link in any browser is ____________.

A. Normal and Blue
B. Underline and Pink
C. Underline and Magento
D. Underlined and Blue
Answer» E.
27.

Link in HTML can be of following type(s).

A. Visited
B. Active
C. Unvisited
D. All are the Types of Links
Answer» E.
28.

URL in HTML stands for ____________.

A. Uni Resource Locator
B. Uniform Resource Locator
C. Universal Resource Locator
D. None of these
Answer» C. Universal Resource Locator
29.

Value of Attribute "href" is also called as __________ of the Destination Web Page.

A. URM
B. URL
C. URK
D. URS
Answer» C. URK
30.

Following tag Stands for -

A. Active Tag
B. Action Tag
C. Anchor Tag
D. Additional Tag
Answer» D. Additional Tag
31.

HTML Stands for _____________.

A. Hyper Text Makeup Language
B. Hyper Text Markup Language
C. None of these
D. Hyper Tech Markup Language
Answer» C. None of these
32.

HTML is considered as _________ language.

A. Higher Level Language
B. Markup Language
C. OOP Language
D. Programming Language
Answer» C. OOP Language
33.

Which of the following is used to create Web Page.

A. HTML
B. JVM
C. DTD
D. C
Answer» B. JVM
34.

__________ can be used to advise the browser to download media content in the background to improve playback.

A. poster
B. autobuffer
C. buffer
D. data-X
Answer» C. buffer
35.

Which plugins can provide the fallback support for old browsers?

A. Flash
B. Quicktime
C. both and b
D. none of the mentioned
Answer» D. none of the mentioned
36.

Which tag is used to encapsulate navigation and then style the elements appropriately as menu items?

A. ul
B. li
C. nav
D. both a and b
Answer» E.
37.

The element ___________ simply groups items within an enclosed dd tag, though it may associate them with a caption defined by a dt tag

A. object
B. figure
C. embed
D. none of the mentioned
Answer» B. figure
38.

___________ contains the navigation menu, or other navigation functionality for the page.

A. section
B. header
C. nav
D. aside
Answer» D. aside
39.

__________ defines the accelerator key to be used for keyboard access to an element.

A. data-X
B. accesskey
C. rp
D. command
Answer» C. rp
40.

Which of the following element is removed by HTML5?

A. vlink
B. dir
C. marginwidth
D. compact
Answer» C. marginwidth
41.

Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type attributes?

A. :valid
B. :required
C. :optional
D. :invalid
Answer» B. :required
42.

Which of the following selectors selects direct descendents?

A. E > F
B. E F
C. E + F
D. E ~ F
Answer» B. E F
43.

What will happen in this case? p strong {background-color: yellow;}

A. Strong have yellow background
B. Strong element within a p element have a yellow background
C. Both p and strong have yellow background
D. None of the mentioned
Answer» C. Both p and strong have yellow background
44.

Which of the following selector selects an element if it’s the only child of its parent?

A. :root
B. :nth-oftype(n)
C. :only-child
D. none of the mentioned
Answer» D. none of the mentioned
45.

Which of the following selector selects elements that do not match the selector s?

A. :!(s)
B. :nth-child(s)
C. :not(s)
D. none of the mentioned
Answer» D. none of the mentioned
46.

Which of the following selector selects the element that is the first child of its parent that is of its type?

A. :first-of-type
B. :last-child
C. ::first-line
D. ::first-letter
Answer» B. :last-child
47.

Which of the following selector selects the elements that are currently enabled?

A. :element
B. :empty
C. :enabled
D. none of the mentioned
Answer» D. none of the mentioned
48.

Which of the following selector selects the elements that are the default among a set of similar elements?

A. :default
B. :%
C. :disabled
D. none of the mentioned
Answer» B. :%
49.

Which of the following selector selects the elements that are checked?

A. E ~ F
B. ::after
C. :checked
D. none of the mentioned
Answer» D. none of the mentioned
50.

Which of the following selector selects all elements of E that have the attribute attr that end with the given value?

A. E[attr^=value]
B. E[attr$=value]
C. E[attr*=value]
D. none of the mentioned
Answer» C. E[attr*=value]