Copy html code to mp3 using HTMAL 5.

Asked By 10 points N/A Posted on -
qa-featured

I was wondering if it is possible to copy html code to mp3 using HTML 5. If anybody knows how it is done, then any kind of help would be appreciated.

SHARE
Answered By 0 points N/A #133585

Copy html code to mp3 using HTMAL 5.

qa-featured

Hello,

Dixon eartha,

I think you are searching for using audio in webpage by HTML code.

<! Doctype html>
<html>
<body>

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

</body>
</html>

Here control attribute adds audio control,like play,pause and volume.

You should have to insert text between <audio> and </audio> tags for browsers that don’t support the <audio> element.

<audio> element allows multiple <source > elements which generally can link to various audio files.

Google chrome 6  can support Mp3,wav and ogg.

Besides,IE9, safari  support MP3

Firefox and opera support wav and Ogg format.

Login/Register to Answer

Related Questions