w3resource
HTML exercises

HTML CSS Exercise: HTML5 Audio & Video

Solution:

HTML Code :

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>HTML CSS Audio/Video exercise</title>
</head>
<body>
<video controls>
  <source src="big_buck_bunny.mp4" type="video/ogv">
  <source src="big_buck_bunny.mp4" type="video/mp4">
  Your browser does not support the <code>video</code> element.
</video>
</body>
</html>

Live Demo :

See the Pen audio-video-answer by w3resource (@w3resource) on CodePen.


Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo
YesYesYesYesYes

What is the difficulty level of this exercise?



New Content: Composer: Dependency manager for PHP, R Programming