Code
Execute
<!DOCTYPE html> <html> <head> <title>html tutorial - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy onloadstart attribute</title> <base href="../tryit/"> </head> <body> <audio controls onloadstart ="loadStart()"> <source src="wikitechy.wav" type="audio/wav"> <source src="wikitechy.mp3" type="audio/mp3"> </audio> <script> function loadStart() { alert("The Wikitechy Audio Loading has been Started!"); } </script> </body> </html>
Result