How add a audio to a page. HTML5 example open

How add a audio to a page. HTML5 example

Approved. Code works!
This is exactly the working code that is verified by the moderator or site administrators
<audio controls src="audio.mp3"></audio> 

src – specifies the path to the audio file being played.

muted – turns off the audio track

autoplay – audio starts playing automatically after the page is loaded.*

controls – adds a control panel to an audio file.

loop – repeats audio playback from the beginning after it ends.

preload – used to download audio along with web page loading.

This attribute is for
to give control over the download of the media file.
It can have one of the following values:
none: Specifies that the audio should not be preloaded.
metadata: Specifies that audio metadata is preloaded
(for example, length).
auto: indicates that the entire audio file can be loaded,
even if the user should not use it.
– empty string: synonymous with auto.

0

More

Leave a Reply

Your email address will not be published. Required fields are marked *

How many?: 22 + 22

lil-code© | 2022 - 2024
Go Top
Authorization
*
*
Registration
*
*
*
*
Password generation