Return to site

A book apart html5 for web designers pdf writer

broken image
broken image
broken image

The object element in this example will only be exposed to browsers that don’t support the audio element.

broken image

Anything between the opening and closing tags that isn’t a source element will be exposed to browsers that don’t understand the audio element: The content model of the audio element supports this. Can you guess which browser I might be talking about? Internet Explorer and its ilk need to be spoon-fed audio files the old-fashioned way, via Flash. But there are some browsers that don’t support the audio element at all yet. The source element is a standalone-or “void”-element, so if you are using XHTML syntax, remember to include a trailing slash at the end of each tag.įalling back The ability to specify multiple source elements is very useful.