All Exams  >   Class 3  >   HTML for Junior Classes  >   All Questions

All questions of HTML Media for Class 3 Exam

Which protocol is supported by Android browsers?
  • a)
    HTTPS
  • b)
    HLS
  • c)
    RTMP
  • d)
    FTP
Correct answer is option 'B'. Can you explain this answer?

Jithin Malik answered
Supported Protocols by Android Browsers

Android browsers support multiple protocols that allow users to access and interact with various websites and online services. Among the protocols commonly supported by Android browsers are HTTPS, HLS, RTMP, and FTP. However, the correct answer to this question is HLSc, which stands for HTTP Live Streaming.

HTTP Live Streaming (HLS)
HTTP Live Streaming is a protocol developed by Apple for delivering media content, such as audio and video, over the internet. It is widely adopted and supported by various platforms, including Android browsers. HLS breaks the media content into small chunks and streams them over HTTP. This allows the content to be delivered efficiently and adaptively according to the network conditions and device capabilities.

Advantages of HLS
- Adaptive Streaming: HLS supports adaptive streaming, meaning it can dynamically adjust the quality of the media stream based on the user's network conditions. This ensures a smooth playback experience even in varying network conditions.
- Compatibility: HLS is widely compatible with different devices and platforms, including Android browsers. This makes it an ideal choice for delivering media content to a broad range of users.
- Security: HLS supports encryption and content protection mechanisms, such as HTTPS, which ensures the privacy and security of the media content being streamed.
- Seamless Switching: HLS allows for seamless switching between different quality levels or bitrates during playback. This ensures that the media playback remains uninterrupted and adjusts to the user's device capabilities and network conditions.

Other Supported Protocols
While HLS is the correct answer for this question, it's important to note that Android browsers also support other protocols, which are briefly explained below:

- HTTPS (Hypertext Transfer Protocol Secure): HTTPS is the secure version of HTTP and is widely used for secure communication over the internet. It encrypts the data being transmitted, ensuring privacy and security.
- RTMP (Real-Time Messaging Protocol): RTMP is a protocol primarily used for live streaming of audio and video content. Although it was widely supported in the past, some Android browsers may not fully support RTMP due to security and performance concerns.
- FTP (File Transfer Protocol): FTP is a protocol used for transferring files over the internet. While Android browsers may not directly support FTP, there are dedicated FTP client apps available on the Play Store that can be used to access FTP servers.

In conclusion, Android browsers support various protocols, including HTTPS, HLS, RTMP, and FTP. However, the correct answer to the question is HLS, as it is a widely supported protocol for streaming media content on Android devices.

The plug-in DLL can’t contain ______________
  • a)
    Language
  • b)
    ProductName
  • c)
    FileDescription
  • d)
    DirectoryName
Correct answer is option 'D'. Can you explain this answer?

Anjali Gupta answered
The plug-in DLL should contain FileExtents which specifies file extensions, ProductName which is for plug-in name, Language for the language which is in use, FileDescription for the description, MIMEType for the MIME types, FileOpenName for file open template.

Which function will be called when the last instance of a plug-in is deleted?
  • a)
    NPP_Destroy
  • b)
    NP_Initialize
  • c)
    NPP_New
  • d)
    NP_Shutdown
Correct answer is option 'D'. Can you explain this answer?

Anjali Gupta answered
When the last instance of a plug-in is deleted Gecko calls the function NP_Shutdown. The plug-in code is unloaded from memory. Plug-ins consume no resources when not loaded, it only consumes a little disk space.

Which of the following browser does not support wav file format?
  • a)
    Opera
  • b)
    Firefox
  • c)
    Chrome
  • d)
    Internet Explorer
Correct answer is option 'D'. Can you explain this answer?

Arnab Malik answered
Internet Explorer does not support the WAV file format.

HTML bullet points:
- Overview of Internet Explorer
- Explanation of the WAV file format

Internet Explorer overview:
Internet Explorer is a web browser developed by Microsoft and was once one of the most widely used browsers. It was the default browser for Windows operating systems until it was replaced by Microsoft Edge. Internet Explorer supports various file formats for multimedia content, such as images, videos, and audio files.

Explanation of the WAV file format:
The WAV (Waveform Audio File Format) is an audio file format developed by Microsoft and IBM. It is widely used for storing audio data on Windows systems. WAV files are typically uncompressed, which means they can be of high quality but also take up more storage space compared to compressed audio formats like MP3.

Reason why Internet Explorer does not support WAV files:
While Internet Explorer supports various multimedia file formats, it does not support the WAV file format. This could be due to several reasons:

1. Compatibility: Internet Explorer focuses on providing compatibility with a wide range of web standards and file formats. However, it may not support certain file formats that are less commonly used or have been replaced by newer formats.

2. Limited audio support: Internet Explorer may have limited support for certain audio formats, and WAV may not be included in its list of supported formats. This could be a deliberate decision by Microsoft to prioritize other audio formats that are more commonly used on the web.

3. Alternative formats: Internet Explorer may suggest alternative audio formats that are more widely supported, such as MP3 or AAC. These formats offer good audio quality and smaller file sizes, making them more suitable for web-based applications.

Overall, while Internet Explorer has been a popular browser, it does not support the WAV file format. Users who encounter WAV files while browsing the web may need to use alternative browsers like Opera, Firefox, or Chrome, which do support this audio format.

Which attribute is used for data binding?
  • a)
    name
  • b)
    datafld
  • c)
    datasrc
  • d)
    mayscript
Correct answer is option 'C'. Can you explain this answer?

Sameer Datta answered
Data Binding Attribute in HTML

The data binding attribute is used to bind data from the data source to an HTML element. This binding is done in a way that if the data is changed in the data source, it will automatically update the HTML element. The attribute used for data binding is "datasrc".

Syntax:



The data source can be a database, an XML file, or any other data source. The data binding attribute is used to link the HTML element to the data source.

Example:

Suppose you have a database that contains a list of users and their email addresses. You want to display this list on your webpage. You can use the data binding attribute to do this.

First, create a connection to the database using server-side scripting like PHP. Then, create an HTML table and use the data binding attribute to bind the data to the table.

HTML code:














Name Email


In the above code, the "datasrc" attribute is used to specify the data source which is a PHP file that retrieves data from the database. The "datafld" attribute is used to specify which field from the data source should be displayed in the HTML table.

Conclusion

In conclusion, the data binding attribute "datasrc" is used to bind data from a data source to an HTML element. It is used to link the HTML element to the data source and automatically updates the HTML element when the data in the data source changes.

Which HTML element is used for YouTube videos?
  • a)
    <samp>
  • b)
    <small>
  • c)
    <frame>
  • d)
    <iframe>
Correct answer is option 'D'. Can you explain this answer?

Anjali Gupta answered
We can host our videos through YouTube and can easily embed them into our website. <iframe> tag will be used for YouTube videos.

Which attribute specify a column name from the data source object?
  • a)
    datafld
  • b)
    codebase
  • c)
    hspace
  • d)
    datasrc
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
datafld attribute is supported by Internet Explorer 4 and its higher versions. It specifies column name from the data source object that supplies bound data. This attribute may be used to specify various <param> elements passed to Java applet. Codebase gives absolute or relative URL of directory. In applet, hspace provides horizontal space on both of sides. HTML datasrc attribute used for data binding.

HTML object tag to embed multimedia will not embed in ___________
  • a)
    audio
  • b)
    video
  • c)
    Java applets
  • d)
    images
Correct answer is option 'D'. Can you explain this answer?

Explanation:
The correct answer is option 'D', which is "images".

HTML Object Tag:
The HTML object tag is used to embed multimedia (such as audio, video, Java applets, etc.) into an HTML document. It allows you to include external content or media within your web page.

Embedding Multimedia:
The object tag is primarily used to embed multimedia content like audio, video, or Java applets. It provides a way to include external files or media directly into an HTML document.

Options:
Let's analyze each option to understand why 'images' is the correct answer:

a) Audio:
The object tag can be used to embed audio files into an HTML document. You can specify the source of the audio file using the 'data' attribute within the object tag. Therefore, the option 'audio' is incorrect.

b) Video:
Similar to audio, the object tag can also be used to embed video files into an HTML document. You can specify the source of the video file using the 'data' attribute within the object tag. Therefore, the option 'video' is incorrect.

c) Java Applets:
The object tag can be used to embed Java applets into an HTML document. Java applets are small programs written in the Java programming language that can be embedded and run within a web page. Therefore, the option 'Java applets' is incorrect.

d) Images:
The object tag is not suitable for embedding images into an HTML document. Instead, the 'img' tag is specifically designed for displaying images. The 'img' tag allows you to specify the source of the image using the 'src' attribute. Therefore, the option 'images' is correct.

Conclusion:
The object tag in HTML is used to embed multimedia content like audio, video, or Java applets. However, it is not suitable for embedding images. To embed images, the 'img' tag should be used.

What is the prefix of all the browser-specific functions?
  • a)
    NPP
  • b)
    UPP
  • c)
    NPN
  • d)
    GPN
Correct answer is option 'C'. Can you explain this answer?

Anagha Khanna answered
Understanding Browser-Specific Functions
When dealing with browser-specific functions, particularly in the context of Netscape Plugin API (NPAPI), it’s crucial to understand the prefixes associated with these functions.
The Correct Prefix: NPN
- The prefix NPN stands for Netscape Plugin API Native. It is used to denote functions that are part of the NPAPI, which allows plugins to interact with the web browser.
- NPP refers to the Plugin instance, and while it is important, it is not a prefix for functions but rather an object representing the plugin itself.
- UPP and GPN are not commonly used prefixes in the context of browser-specific functions related to NPAPI.
Why NPN is Significant
- Functionality: The NPN prefix is essential as it provides a set of functions that plugins can call to interact with the browser, such as rendering content, handling events, or managing memory.
- Standardization: Using the NPN prefix helps standardize the API calls across different browsers that support NPAPI plugins, making it easier for developers to implement cross-browser compatibility.
Conclusion
In summary, the prefix NPN is critical for identifying and utilizing browser-specific functions within the NPAPI framework. Understanding this prefix aids in effective plugin development and ensures seamless integration with web browsers.

Which of the following is not the directory in Windows for plug-ins?
  • a)
    Profile directory/Library/Internet
  • b)
    MOZ_PLUGIN_PATH
  • c)
    HKEY_CURRENT_USER
  • d)
    ~/Library/Internet Plug-Ins
Correct answer is option 'D'. Can you explain this answer?

Anjali Gupta answered
When Gecko based browser starts, it checks certain directories for plugins. Windows have MOZ_PLUGIN_PATH, Profile directory\plugins, %APPDAT%/Mozilla\plugins, Plug-ins with toolkit bundles, HKEY_CURRENT_USER\Software\MozillaPlugins\*\Path are some of the directories in windows.

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
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
HTML documents are delivered as "documents".These are then parsed, which turns them into the Document Object Model (DOM) internal representation, within the web browser.

In HTML Audio/Video DOM __________ sets or returns the volume of the audio/video.
  • a)
    src
  • b)
    volume controls
  • c)
    volume
  • d)
    video Tracks
Correct answer is option 'C'. Can you explain this answer?

Rahul Verma answered
Src attribute gives current source of audio/video element. The videoTrack list is returned representing available video tracks by video track attribute. Volume attribute sets the current volume of video/audio.

Which of the following is not the attribute for <audio> element?
  • a)
    controls
  • b)
    src
  • c)
    preload
  • d)
    width
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
<audio> element has various attributes like src, controls, autoplay, preload, loop, buffered, crossorigin, muted. Width is attribute basically use for <video> not for <audio> element. All the attributes and <audio> element is newly introduce by HTML5 to make page responsive and user friendly.

Which of the following request is used for the browser to load a URL?
  • a)
    NPN_GetURL
  • b)
    NPN_PostURL
  • c)
    NPN_PostURLNotify
  • d)
    NPN_GetURLNotify
Correct answer is option 'A'. Can you explain this answer?

Anjali Gupta answered
NPN_GetURL is a request for the browser to load a URL into a particular frame for display or browser window, or for delivering data of that URL to the plug-in instance in a new stream. NPN_PostURLNotify function notifies plug-in of a result when an operation completes.

Which of the following HTML Video – Media Type is not supported in IE?
  • a)
    WebM
  • b)
    MP4
  • c)
    Ogg
  • d)
    MP4 FLAC
Correct answer is option 'C'. Can you explain this answer?

Anjali Gupta answered
The Ogg container format with the Theora video codec and the Vorbis audio codec is supported in desktop/mobile Gecko (Firefox), Chrome, and Opera, and support for the format can be added to Safari (but not on iOS) by installing an add-on. The format is not supported in Internet Explorer in any way. The most widely used format for HTMl video i.e MP4 format is supported in IE.

Which method is used to display a message on the status line?
  • a)
    NPN_MemFree
  • b)
    NPN_HandleWindow
  • c)
    NPN_Status
  • d)
    NPN_GetValue
Correct answer is option 'C'. Can you explain this answer?

Anjali Gupta answered
NPN_Status is used to display a message on the status line. It makes the user feel that the plug-in is a part of the browser user interface, plug-in can emulate browser behavior by providing status line message.

In HTML Audio/Video DOM, __________ sets or returns the CORS settings of the audio/video.
  • a)
    Current Time
  • b)
    duration
  • c)
    Default Playback Rate
  • d)
    Cross Origin
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
Current Time set or returns current playback position while playing audio/video. The length of the current audio/video is set or returned by duration. Default speed of playback is given by defaultPlaybackRate. The purpose of the crossorigin attribute is to allow you to configure the CORS requests for the element’s fetched data.

Which element is used for YouTube videos?
  • a)
    <iframe>
  • b)
    <frame>
  • c)
    <small>
  • d)
    <samp>
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
We can host our videos through YouTube and can easily embed them into our website. <iframe> tag will be used for YouTube videos.

Which of the following tag is used for audio in HTML5?
  • a)
    <bgsound>
  • b)
    <audio>
  • c)
    <video>
  • d)
    <canvas>
Correct answer is option 'B'. Can you explain this answer?

Rahul Verma answered
<video> tag is used for video clips in HTML5. <canvas> is for graphical user interface. The audio tag defines sound, such as music or other audio streams.

Which of the following is not a directory in Linux for plug-ins?
  • a)
    ~/.mozilla/plugins
  • b)
    /usr/lib64/Mozilla/plugins
  • c)
    profile directory
  • d)
    /Library/Internet plug-ins
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
Profile directory/plugins, /usr/lib64/Mozilla/plugins, /usr/lib/Mozilla/plugins, ~/.mozilla/plugins are some of the directories in Linux for using plug-ins. /usr/lib64/firefox/plugins is for 64-bit Firefox.

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
Correct answer is option 'C'. Can you explain this answer?

Rahul Verma answered
Seeking returns whether user is currently seeking video/audio. Ended attribute fires up when current playing playlist is finished. The error property returns a MediaError object. The MediaError object has a code property containing the error state of the audio/video. The group to which audio/video belongs is returned by mediaGroup.

Which value is there for autoplaying the YouTube video?
  • a)
    0
  • b)
    1
  • c)
    2
  • d)
    infinite
Correct answer is option 'B'. Can you explain this answer?

Rahul Verma answered
We can play our video automatically when the user visits the page by adding a simple parameter to a YouTube URL. When the value is set to be 0 the value will not play automatically when the player loads. It is the default value. When the value is set to be 1 the video will play automatically when the player loads.

Which of the following type attributes of input element defines control for entering a telephone number?
  • a)
     mob
  • b)
     tel
  • c)
     mobile
  • d)
     telephone
Correct answer is option 'B'. Can you explain this answer?

Rahul Verma answered
The input element with a type attribute whose value is "tel" represents a one-line plain-text edit control for entering a telephone number.

Which element allows insertion of empty spaces on pages?
  • a)
    <strike>
  • b)
    <spacer>
  • c)
    <shadow>
  • d)
    <plaintext>
Correct answer is option 'B'. Can you explain this answer?

Anjali Gupta answered
HTML <strike> element places horizontal line through text. <spacer> is an obsolete HTML element. It allows insertion of empty spaces on pages. It was devised by Netscape to accomplish same effect as single-pixel layout image. <spacer> no longer supported by any major browser and same effects can be achieved by using CSS. <plaintext> element renders everything following start tag as raw text, without interpreting any HTML. <shadow> element is an obsolete part of web component which is used to shadow DOM objects.

The plugin resource string 1 is associated with ________
  • a)
    MIME type
  • b)
    aiff
  • c)
    video
  • d)
    jpg
Correct answer is option 'C'. Can you explain this answer?

Anjali Gupta answered
There are plugin resources. ‘STR#’ 1 is associated with video or quicktime, MIME type is associated with str 128, aiff is associated with string 4, jpg is associated with string 6, image or jpeg is associated with string 5.

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
Correct answer is option 'C'. Can you explain this answer?

Anjali Gupta answered
Preload is used to set or return whether the video/ audio has been loaded on page. Current network of audio/video has been set or returned by networkState. A buffered range is a time-range of buffered audio/video. The user gets several buffered ranges if he/she skips in the audio/video. Media controller of current video/audio is given or returned by controller.

Which of the following is not a transmission mode that plug-in can select?
  • a)
    File mode
  • b)
    Random-access mode
  • c)
    Normal mode
  • d)
    Complex mode
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
There are three transmission modes that plug-in can select. In normal mode browser sends stream data sequentially to plug-in, in Random-access mode browser allows a plug-in to request specific ranges of bytes from anywhere in the stream. In File, mode browser saves data to a local file in cache and passes the file path to plug-in.

Which of the following plug-in can’t be embedded by <object> element?
  • a)
    Java applets
  • b)
    Flash players
  • c)
    PDF readers
  • d)
    Map
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
All the browsers support <object> element. It also defines an embedded object within the HTML document. It is used for embedding plug-ins like PDF readers, Flash Players, Java applets in the web page.

Which of the following plug-in file type is used in MS Windows?
  • a)
    .DLL
  • b)
    .SO
  • c)
    .DSO
  • d)
    PPC
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
The plug-in file type depends on the platform. The file type in MS Windows is .DLL which is Dynamic Link Library files. Unix has .SO or .DSO files which are shared objects. MAC OS X has file PPC/x86/Universal loadable Mach-O bundle.

In HTML Audio/Video DOM, __________ sets or returns whether the audio/video should be loaded when the page loads.
  • a)
    preload
  • b)
    autoplay
  • c)
    buffered
  • d)
    controller
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
Autoplay, preload, buffered, controller etc are the different kinds of attribute of video/audio element. Using autoplay, video/audio automatically begins to play. The preload property allows the author to provide a hint to the browser about what he/she thinks will lead to the best user experience. This attribute may be ignored in some instances.

Which element is known as HTML Example Element?
  • a)
    <spacer>
  • b)
    <strike>
  • c)
    <xmp>
  • d)
    <shadow>
Correct answer is option 'C'. Can you explain this answer?

Rahul Verma answered
HTML <strike> element places horizontal line through text. <spacer> is an obsolete HTML element. It allows insertion of empty spaces on pages. HTML Example Element <xmp> renders text between start and end tags without interpreting HTML in between and using monospaced font. HTML2 specification recommended that it should be rendered wide enough to allow 80 characters per line. <shadow> element is an obsolete part of web component which is used to shadow DOM objects.

In HTML Audio/Video DOM __________ sets or returns whether the audio/video should start over again when finished.
  • a)
    loop
  • b)
    autoplay
  • c)
    seeking
  • d)
    played
Correct answer is option 'A'. Can you explain this answer?

Rahul Verma answered
The loop attribute is a boolean attribute. When present, it specifies that the audio will start over again, every time it is finished. With autoplay, it ensures whether video/audio should play immediately after loading page. Seeking returns whether user is currently seeking video/audio. Timeranges representing played parts of audio/video is set by played attribute.

 When the user leaves instance’s page which function is called?
  • a)
    NPP_New
  • b)
    NPP_Destroy
  • c)
    NP_Shutdown
  • d)
    NP_Initialize
Correct answer is option 'B'. Can you explain this answer?

Anjali Gupta answered
When the user leaves instance’s page or closes its window a plug-in instance is deleted. Then Gecko calls the function NPP_Destroy to inform plug-in that the instance is being deleted. Plug-in API calls and callbacks use main Navigator thread.

__________ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on.
  • a)
    JavaScript
  • b)
    JQuery UI
  • c)
    VTS
  • d)
    JCL
Correct answer is option 'B'. Can you explain this answer?

Anjali Gupta answered
JQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. JavaScript is a scripting language. VTS is a powerful rendering engine browser for JavaScript. JCL is Job Control Language which is also named as scripting language.

Which of the following attribute adds audio controls, like play, pause, and volume?
  • a)
    audio
  • b)
    controls
  • c)
    source
  • d)
    src
Correct answer is option 'B'. Can you explain this answer?

Rahul Verma answered
The audio attribute defines sound, such as music or other audio streams. Source attribute defines multiple media resources for media elements, such as <video> and <audio>. Src attribute gives current source of audio/video element. The controls attribute is a boolean attribute. When present, it specifies that audio controls should be displayed.

When is the instance created, which plug-in API function is called?
  • a)
    NPP_Destroy
  • b)
    NPP_New
  • c)
    NP_Shutdown
  • d)
    NP_Initialize
Correct answer is option 'B'. Can you explain this answer?

Anjali Gupta answered
NPP_New function is called by the browser when an instance is created. There can exist multiple instances of the same plug-in. There are two conditions for it first if there are multiple embedded objects on a single page, second if several browser windows are open.

Which of the following HTML Video “ Media Type is not supported in IE?
  • a)
    WebM
  • b)
    MP4
  • c)
    Ogg
  • d)
    None of the mentioned
Correct answer is option 'C'. Can you explain this answer?

Rahul Verma answered
The Ogg container format with the Theora video codec and the Vorbis audio codec is supported in desktop/mobile Gecko (Firefox), Chrome, and Opera, and support for the format can be added to Safari (but not on iOS) by installing an add-on. The format is not supported in Internet Explorer in any way.

Which attribute assigns a name to the applet?
  • a)
    name
  • b)
    vspace
  • c)
    src
  • d)
    object
Correct answer is option 'A'. Can you explain this answer?

Anjali Gupta answered
name attribute assigns a name to the applet so that it can be identified by the other resources especially for some particular scripts. Additional vertical space is specified by vspace attribute in pixels. Additional vertival space above or below applet is given by vspace attribute. Src attribute provides absolute URL for file or applet. Object attribute is URL representation of applet.

Which of the following is not the directory in Mac OS X for plug-ins?
  • a)
    /Library/Internet
  • b)
    ~/Library/Internet
  • c)
    Profile directory
  • d)
    MOZ_PLUGIN_PATH
Correct answer is option 'D'. Can you explain this answer?

Rahul Verma answered
/Library/Internet Plug-Ins, ~/Library/Internet Plug-Ins, Plug-ins with the toolkit bundles, /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources, Profile directory/plugins are some of the directories in Mac OS X for plug-ins.

Which element is known as HTML plaintext element?
  • a)
    <plaintext>
  • b)
    <shadow>
  • c)
    <spacer>
  • d)
    <noembed>
Correct answer is option 'A'. Can you explain this answer?

Anjali Gupta answered
<plaintext> element renders everything following start tag as raw text, without interpreting any HTML. There is no need for closing tag since everything written after this tag is considered as raw text. <shadow> element is an obsolete part of web component which is used to shadow DOM objects. <spacer> element allows insertion of spaces in documents. <noembed> is an obsolete non-standard which provides fallback to the content of browser.

In HTML Audio/Video DOM __________ sets or returns whether the audio/video should start playing as soon as it is loaded.
  • a)
    controls
  • b)
    audio Tracks
  • c)
    autoplay
  • d)
    currentSrc
Correct answer is option 'C'. Can you explain this answer?

Anjali Gupta answered
Control attribute is used to set whether audio/video should display controls. AudioTrack list representing audio tracks is set by audio track. The autoplay attribute is a boolean attribute. When present, the audio will automatically start playing as soon as it can do so without stopping. A current src of audio/video is returned by currentSrc.

Chapter doubts & questions for HTML Media - HTML for Junior Classes 2025 is part of Class 3 exam preparation. The chapters have been prepared according to the Class 3 exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Class 3 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of HTML Media - HTML for Junior Classes in English & Hindi are available as part of Class 3 exam. Download more important topics, notes, lectures and mock test series for Class 3 Exam by signing up for free.

HTML for Junior Classes

14 videos|31 docs|24 tests

Top Courses Class 3