---
title: "How do you play a audio using HTML5?"  
description: "How do you play a audio using HTML5?"  
author: "Anonymous User"  
published: 2011-10-11  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/1294/how-do-you-play-a-audio-using-html5  
category: "html5"  
tags: ["html5"]  
reading_time: 1 minute  

---

# How do you play a audio using HTML5?

We can display audio using the <audio> tag as shown below:

<audio controls="controls">\
<source src="test.mp3" type="audio/mp3" />\
</audio>

## Answers

### Answer by Anonymous User

We can display audio using the <audio> tag as shown below:

<audio controls="controls">\
<source src="test.mp3" type="audio/mp3" />\
</audio>


---

Original Source: https://www.mindstick.com/interview/1294/how-do-you-play-a-audio-using-html5

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
