0
Can audio code like this? html5
<audio src="test1.mp3", src="test2.mp3">error message</audio> I know that there is <audio control><source src="test1.mp3"… you get my point But is the first one correct? If not how to change it?
4 Réponses
+ 2
the first one is wrong, one audio element can have one src attribute only.
In DOM tree, each attribute is a property of that element.
So, the later one will overwrite the previous one.
+ 1
Please don't ask the same question 2 times. Someone answered your previous question
0
I am sorry but i dont think so i asked the same question. Both questions are different
0
Thanks so much. I understand now.