html audio

<audio> element defines the music and other audio sound streams.

  tag sayntax:-<audio>------</audio>

audio element has basic attributes for good control audio files.such as control,autoplay,loop,preload.

attributevaluedescription
controlscontrols audioit responsible for displays audio controls
looploopaudio file will start again every time it is finished.
preloadautoaudio loded w
srcuriurl of the audio file
autoplayautoplaythe audio will start playing as soon as it is ready

mime types for audio.

formatmime-type
mp3audio/mpeg
oggaudio/ogg
wavaudio/wav

global attribute:

event attribute: