HTML5 - Xác định các nguồn thay thế cho phần tử âm thanh

Xác định các nguồn thay thế cho phần tử âm thanh

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Specify Alternate Sources for audio Element in HTML</title>
</head>
<body>
    <audio controls="controls">
        <source src="images/birds.mp3" type="audio/mpeg">
        <source src="images/birds.ogg" type="audio/ogg">
        Your browser does not support the HTML5 audio element.
    </audio>
</body>
</html>  

Xem ví dụ