English

Akhil, an entrepreneur, has made some videos for marketing purposes. He wants to create a web page and share these videos to increase his customers on the online platform. Help Akhil to do the same

Advertisements
Advertisements

Question

Akhil, an entrepreneur, has made some videos for marketing purposes. He wants to create a web page and share these videos to increase his customers on the online platform. Help Akhil to do the same with the given instructions:

  1. Use HTML to put a video “products.mp4” in the web page.
  2. The video should autoplay in the width of 400 pixels and height 300 pixels in the browser window.
  3. The video controls buttons - Play, Pause and Volume should be visible.
Code Writing
Advertisements

Solution

<html>
<head>
<title>Product Videos</title>
</head>
<body>
<h1>Check out our latest products!</h1>
<video width="400" height="300" controls autoplay>
  <source src="products.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<p>This video showcases our amazing products, available now!</p>
</body>
</html>
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×