Adding audio files into an HTML webpage is a very process. Please follow these simple steps:
Step1:
Firstly, You need a code editor. like ( Notepad, Notepad++, Sublime, Visual Studio Code, etc). but I personally recommended you Visual studio Code Editor ( VS Code ). Because it is easy to use for beginners.Step2:
Open your HTML file in any code editor. and start to write code under <body> </body> tag where you want to add an audio file.
Source Code:
After writing the given source code on your webpage. its shows like this:
Comments