dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Apr 11, 2018

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Using the Embed Tag in HTML

To embed interactive content, such as a sound, a movie or an swf file, into your site, you need to use this HTML tag. Upload the wav (or the desired file content) document to the server and paste the HTML code below into your project.

<!DOCTYPE html
<html
<body
<embed src = "sound.wap" autostart = "false" loop = "false" hidden= "false" width = "150" height= "130" controls= "console"
</body
</html/code>

src = the url of the object data

autostart = true = sound starts automatically / (false) = sound does not start automatically

loop = true = repeat the sound indefinitely / (false) = repeat the sound once

hidden = the control bar is not displayed / (false) = the control bar is displayed

When you decide to display this control bar, you must use the attributes:

width = control bar width

height = the height of the control bar
Octavia Anghel
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date