Hello hello all! I have a question that may be simple, but I was just curious:
I’m working through the front end development track, currently learning about semantic html, and specifically about the <audio> element. I noticed in the example provided, there was a <source> element nested within the <audio>, and within that <source> there was a src attribute linking to the file, see below:
The <source> element allows for multiple sources or file formats to be associated with the <audio>, <video>, and <picture> tags. In case one source is incompatible with a given browser, another one can be referenced. If all else fails, the browser will attempt to display fallback content.
Basically, in case 1 format is not supported you can use another.