View Single Post
Old 10-20-2011, 01:45 PM   #3
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
Quote:
Originally Posted by Jellby View Post
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


Code:
<!DOCTYPE html>
still works in firefox, but epubcheck still throws the <audio> tag out.

Confused!

Should I use an HTML file rather than XHTML?
Oxford-eBooks is offline   Reply With Quote