logo
  • Home
  • Rank
  • Tests
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Contact

HTML Multiple Choice Questions | MCQs | Quiz

HTML Interview Questions and Answers
Practice HTML questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   Traditional HTML & XHTML
•   (X)HTML Rules
•   Web Browsers
•   Choosing Editors & IDEs
•   Choosing Web Servers
•   Compatibility Libraries
•   Metadata
•   Microdata
•   Favicons & Icons
•   (X)HTML Major Themes
•   HTML5 Introduction - 1
•   HTML5 Introduction - 2
•   HTTP Overview
•   Embracing Web Markup
•   HTML5 Document Structure
•   HTML5 Open Media Effort
•   HTML5 Video
•   HTML5 Audio
•   Canvas Clientside Graphics
•   HTML5 Form Changes
•   Web Applications Elements
•   HTML5: Beyond Markup
•   Major HTML5 Themes
•   Scalable Vector Graphics
•   Audio & its MIME Types
•   Forms Input Types
•   Web Storage
•   Forms & Minification
•   Web Communications
•   XHTML Element Reference
•   HTML5 Attributes Reference
•   HTML 4.x Entities
•   HTML Fonts
•   Document Type Definitions
•   Semantic Elements
•   Drag & Drop
•   Geolocation API
•   Cache Manifest File
•   Images Optimization
•   HTML Features - Modernizr
•   URL Encoding
•   Web Databases
•   Image Sprites
•   ↓ Web Performance ↓
•   Web Optimization - 1
•   Web Optimization - 2
•   Tables Working
•   JavaScript & jQuery - 1
•   JavaScript & jQuery - 2
•   JavaScript & jQuery - 3
•   Linking between Pages
•   Bullet & Definition Lists
•   Other Sites Linking
•   Adding Flash Videos
•   Styling HTML5 Layout
•   HTML5 Layout Elements
•   Search Engine Optimization
•   HTML Google Maps - 1
•   HTML Google Maps - 2
•   HTML Plugins - 1
•   HTML Plugins - 2
•   HTML5 Semantics - 1
•   HTML5 Semantics - 2
•   HTML5 Semantics - 3
•   HTML5 YouTube Videos
•   HTML Geolocation
•   Responsive Overview - 1
•   Responsive Overview - 2
•   Responsive Overview - 3
•   Responsive Overview - 4
•   Responsive Overview - 5
•   Responsive Overview - 6
•   Responsive Overview - 7
•   Responsive Overview - 8

Best Reference Books

•   HTML Books


« Prev Page
Next Page »

HTML Questions & Answers – HTML5 Audio

Posted on July 13, 2018 by Manish

This set of HTML Multiple Choice Questions & Answers (MCQs) focuses on “HTML5 Audio”.

1. There is an audio format supported across all browsers.
a) True
b) False
View Answer

Answer: b
Explanation: There are 3 formats that are used in HTML5 Audio and are .mp3, .m4a AAC also known as H.264 format.
advertisement

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

a) <bgsound>
b) <audio>
c) <video>
d) <canvas>
View Answer
Answer: b
Explanation: <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.
 
 

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

a) <source>
b) <canvas>
c) <audio>
d) <video>
View Answer
Answer: a
Explanation: <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.defines multiple media resources for media elements, such as <video> and <audio>.
 
 

4. Which of the following browser does not support wav file format?
a) Opera
b) Firefox
c) Chrome
d) Internet Explorer
View Answer

Answer: d
Explanation: Opera, firefox, chrome and internet explorer are different kinds of browsers. Out of which audio file format named wav is not supported by internet explorer.
advertisement

5. In HTML Audio/Video DOM __________ sets or returns the volume of the audio/video.
a) src
b) volume controls
c) volume
d) video Tracks
View Answer

Answer: c
Explanation: 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.

6. Which of the following attribute adds audio controls, like play, pause, and volume?
a) audio
b) controls
c) source
d) src
View Answer

Answer: b
Explanation: 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.

7. 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
View Answer

Answer: c
Explanation: 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.

8. 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
View Answer

Answer: a
Explanation: 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.
advertisement

9. 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
View Answer

Answer: c
Explanation: 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.

10. In HTML Audio/Video DOM __________ returns a TextTrackList object representing the available text tracks.
a) readyState
b) startDate
c) videoTracks
d) textTracks
View Answer

Answer: d
Explanation: The current ready state of video/audio is set by readyState. StartDate sets current date representing current time offsets. VideoTrack returns video track list representing available video tracks. The textTracks property returns a TextTrackList object. The TextTrackList object represents the available text tracks for the audio/video. Each available text track is represented by an TextTrack Object.

Sanfoundry Global Education & Learning Series – HTML.

To practice all areas of HTML, here is complete set of 1000+ Multiple Choice Questions and Answers.

« Prev Page - HTML Questions & Answers – HTML5 Video
» Next Page - HTML Questions & Answers – Client-Side Graphics with Canvas

« HTML Questions & Answers – HTML5 Video
HTML Questions & Answers – Client-Side Graphics with Canvas »
advertisement

Deep Dive @ Sanfoundry:

  1. Cloud Computing Questions and Answers
  2. Java Programming Examples on Mathematical Functions
  3. Transformers Questions and Answers
  4. PHP Questions and Answers
  5. Java Programming Examples on Java.Lang
  6. Biomedical Instrumentation Questions and Answers
  7. Java Programming Examples on Multithreading
  8. Javascript Questions and Answers
  9. HTML Questions and Answers
  10. HTML Questions & Answers – HTML5 Introduction – 2
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.