g
Printer Friendly Version

editor  
BellaOnline's HTML Editor
 

HTML Elements and Attributes for Audio Files

Below is a list of the most commonly used*** html element tags that control an audio file on the webpage.

Note: Some attributes listed below have been depreciated in favor of Cascading Style Sheets.

Elements and Attributes for Audio Files
ElementOpening TagAttributesClosing TagDescription
bgsound<bgsound>src="location"
loop="#"
NoneEmbeds audio file on webpage (Internet Explorer)

src - location of file
loop - number of times file will play
embed<embed>src="location"
width="x"
height="x"
hidden="?"
loop="#"
NoneEmbeds audio file on webpage

src - location of file
width - width of display panel in pixels
height - height of display panel in pixels
hidden - set to true to make panel invisible, the default is false
loop - number of times file will play
***A complete list of html element tags can be found at the World Wide Web Consortium (W3C) website.
http://www.w3.org/TR/REC-html40/index/elements.html
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.




This site needs an editor - click to learn more!

HTML Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2023 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor