Tuesday, 6 December 2016

HTML Audio

  1. HTML audio tag is used to define sounds such as music and other audio clips. Currently there are three supported file format for HTML 5 audio tag.
  2. autoplay Specifies that the audio will start playing as soon as it is ready
  3. controls Specifies that audio controls should be displayed (such as a play/pause button etc)
  4. loop Specifies that the audio will start over again, every time it is finished
  5. src Specifies the URL of the audio file

No comments:

Post a Comment