HTML& CSS for Beginners by Jo Foster
Author:Jo Foster
Language: eng
Format: epub
Publisher: Elluminet Press
Published: 2019-05-12T16:25:36+00:00
Adding Audio
If you are adding background music or any sound to your website, make sure it is appropriate and complements the website. There is nothing worse than going to a website and have annoying music or sound blaring at you.
To add audio, use the <audio>...</audio> tags.
<audio controls>
<source src=âmusic.mp3â type=âaudio/mpegâ>
</audio>
loop attribute loops the music to play over again.
controls attribute shows play, stop, track and volume control
autoplay attribute starts playing music automatically - do not use!! It makes websites unbearable and annoying.
Have a look at the code highlighted in the html file below. You can see in the web page, the control has been added to the bottom of the page. Try some of the other attributes and see what happens.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12249)
Hello! Python by Anthony Briggs(9628)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9555)
The Mikado Method by Ola Ellnestam Daniel Brolund(9531)
Dependency Injection in .NET by Mark Seemann(9070)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8063)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7587)
Grails in Action by Glen Smith Peter Ledbrook(7488)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7309)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6204)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(5369)
Microservices with Go by Alexander Shuiskov(5081)
Practical Design Patterns for Java Developers by Miroslav Wengner(4997)
Test Automation Engineering Handbook by Manikandan Sambamurthy(4983)
Kotlin in Action by Dmitry Jemerov(4845)
Angular Projects - Third Edition by Aristeidis Bampakos(4322)
The Art of Crafting User Stories by The Art of Crafting User Stories(3869)
NetSuite for Consultants - Second Edition by Peter Ries(3859)
Practical Vim (for Kathryn Amaral) by Drew Neil(3849)