Simple HTML5 Audio File

In this example below you will see how to do a Simple HTML5 Audio File with some HTML / CSS and Javascript

This awesome code was written by 1Marc, you can see more from this user in the personal repository.
You can find the original code on
Copyright 1Marc ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Simple HTML5 Audio File</title>


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