GROUP A(HTML PRACITCAL 4)


Experiment No-4: Use of Audio and Animation on web pages.

Create a web page that continuously plays a background sound for specific number of times without controls. This page must also contain an animated file where display dimensions are 100 X 100 pixels. Make use of alternate text for animated file.

Create another web page that plays a sound continuously with controls. The web page should also contain animated image with display dimensions 100 X 100 pixels along with alternate text.
  
Sound_without _controls.html
<html>
<head>
<title>
Sound File Without Controls</title>
</head>
<body>
<h1>Sound File without controls</h1>
<img src="IMG1.gif" width="100" height="100" alt="animated image">
<bgsound src="nokia_iphone.mp3" loop="2">
</body>
</html>

  

Sound _with_controls.html
<html>
<head>
<title>
Sound File With Controls</title>
</head>
<body>
<h1>Sound File With Controls</h1>
<img src="IMG2.gif" width="100" height="100" alt="animated image">
<br>
<embed src="super_ringtone.mp3” loop="-1">
</body>
</html>

No comments:

Post a Comment