Quote:
Originally Posted by Jellby
Well, you declared your document to be XHTML 1.1 in your DOCTYPE, and if I'm not mistaken <audio> is not a recognized XHTML 1.1 element. I don't know if it would work in other conditions. Note that the DOCTYPE is not compulsory, but if you use a DOCTYPE you must comply with it.
|
Good spot. Firefox just gets on with it and renders the page. So, perhaps epubcheck is a little more careful...
replacing the doctype with
still works in firefox, but epubcheck still throws the <audio> tag out.
Confused!
Should I use an HTML file rather than XHTML?