Computer Science, asked by karthikkumarnani, 2 days ago

Which of the following is true about 'audio' tag in HTML5?
The current HTML5 draft specification does not specify the types of audio formats
that browsers should support in the audio tag.
Both
O
None of these
HTML5 supports <audio> tag which is used to embed sound content in an HTML
or XHTML document.​

Answers

Answered by Atshayalaxmi
1

Answer:

<audio controls>

<audio controls> <source src="horse.ogg" type="audio/ogg">

<audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg">

<audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio tag.

<audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio tag.</audio>

Explanation:

HTML <audio> Tag

HTML <audio> TagDefinition and Usage

HTML <audio> TagDefinition and UsageThe <audio> tag is used to embed sound content in a document, such as music or other audio streams.

HTML <audio> TagDefinition and UsageThe <audio> tag is used to embed sound content in a document, such as music or other audio streams.The <audio> tag contains one or more <source> tags with different audio sources. The browser will choose the first source it supports.

HTML <audio> TagDefinition and UsageThe <audio> tag is used to embed sound content in a document, such as music or other audio streams.The <audio> tag contains one or more <source> tags with different audio sources. The browser will choose the first source it supports.The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.

HTML <audio> TagDefinition and UsageThe <audio> tag is used to embed sound content in a document, such as music or other audio streams.The <audio> tag contains one or more <source> tags with different audio sources. The browser will choose the first source it supports.The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.There are three supported audio formats in HTML: MP3, WAV, and OGG.

Answered by aditijaink283
0

Answer:

The correct answer to the given question is:

Both

HTML5 supports <audio> tag which is used to embed sound content in an HTML or XHTML document

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

Explanation:

The audio> tag is used to embed sound content in a document, such as music or other audio streams.

The audio> tag contains one or more source> tags with different audio sources. The browser will use the first source that it supports.

The text between the audio> and /audio> tags will only be displayed in browsers that do not support the audio> element.

HTML supports three audio formats: MP3, WAV, and OGG.

The audio> tag in HTML also supports Global Attributes. The HTML Event Attributes are also supported by the audio> tag.

#SPJ2

Similar questions