"Curso em Vídeo"
This is the student's notebook of Ricardo Barros Becheli
<!DOCTYPE html>
Title
HTML Semantic Elements
Head, header and heading
Paragraph
Formating
Entities
Emojis
Images
Favicon
Mark the text
How to display code
Quotations
Lists
Links
Responsive images
Audio
Video
There are two ways of inserting audio into your page:
<audio>
tag.<audio>
<source>
</audio>
tags.<audio>
tagThis is "Dubstep", from Bensound:
<audio>
plus <source>
tags
The <source>
element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format.
And here you have "Funkyelement", also from Bensound:
Suppose I had an alternative "ogg" oudio format for this song (which I don't, as you will see in the code. I just staged the snippet to print the image as an example). I would put it just below my main option, which now is the "mp3". If your browser for any reason would not recognize the mp3 file, it would automatically play the ogg one.