HTML5 introduces built-in media support via the

The main advantage of the

Until now, there has not been a standard for playing audio files on web pages. What you commonly find on websites is that audio files are played through external plug-ins such as flash or other third party audio components. HTML5 defines this new element which now provides a standard way to embed audio within a web document.

Internet Explorer 9, Firefox, Opera, Chrome, and Safari support the

Audio Format and Browser Support

Example

The

DOM Methods, Properties and Events

HTML5 has DOM methods, properties, and events for the