HTML-Tags

February 26, 2009 at 1:40 pm | In Ultimate Concepts-Html | Leave a Comment
Tags: , , , ,

Most of us have a common query related to HTML and that is ,”can we insert a sound fileĀ in a webpage using html?”. So i may add up to your knowledge my friends that yes it’s absolutely possible(afterall nothing can be impossible yaar).For this you have to do this only:-

“<embed src=”filename.fileformat”></embed>”

Yes “EMBED” tag is used for inserting a sound file.It also has many other features like:-

Width=Width of the media player.(In pixels or percentage)

Height=Height of the media player.(In pixels or percentage)

Hidden=To make the media player hidden i.e is only sound plays but no media player is displayed.(True/False)

Volume=Adjust the volume level.(0-100;by defualt it is 50)

Loop=The no. of times file to be played.(Any integer value)

Autostart=To play the sound automatically.(True/False)

Ultimate Example:

<body><Embed Src=”xyz.mp3″ Width=”100″ Height=”33%” Autostart=”True” Loop=”2″ Volume=”60″></Embed></body>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.