dcsimg
Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Tip: Using the Embed Tag in HTML

Learn how to embed interactive content into your HTML pages.


advertisement

WEBINAR:

On-Demand

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


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

 

Visit the DevX Tip Bank

 





   
Octavia Andreea Anghel is a senior PHP developer currently working as a primary trainer for programming teams that participate at national and international software-development contests. She consults on developing educational projects at a national level. She is a coauthor of the book "XML Technologies--XML in Java" (Albastra, ISBN 978-973-650-210-1), for which she wrote the XML portions. In addition to PHP and XML, she's interested in software architecture, web services, UML, and high-performance unit tests.
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