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

<video width="320" height="240" controls="controls">\
<source src="test.mp4" type="video/mp4" />\
</video>

## Answers

### Answer by Anonymous User

We can display video using the <video> tag as shown below:

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