Audio

You can include audio files using the <audio> tag. To accommodate different browsers, it might also have numerous source files.

Attribute:

  • play, stop, and volume controls are displayed on the control screen for the audio.

Example of Embedding Audio:

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

logo

HTML

Audio

Beginner 5 Hours

You can include audio files using the <audio> tag. To accommodate different browsers, it might also have numerous source files.

Attribute:

  • play, stop, and volume controls are displayed on the control screen for the audio.

Example of Embedding Audio:

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

Similar Data Science Tutorials

Related tutotials

Frequently Asked Questions for html

line

Copyrights © 2024 letsupdateskills All rights reserved