Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using HTML instead of XHTML? #883

Closed
jacqueslelezard opened this issue Sep 19, 2016 · 3 comments
Closed

Using HTML instead of XHTML? #883

jacqueslelezard opened this issue Sep 19, 2016 · 3 comments

Comments

@jacqueslelezard
Copy link

I was wondering is it valid to create an epub with only HTML5 file instead of XHTML files since HTML media type is listed there as supported type https://idpf.github.io/epub-cmt/v3 : text/html ?

For now (epub 3.0.1) an epub file with the TOC and a fallback in XHTML, and HTML files for content seems to be valid in epubcheck 4.0.1

@mattgarrish
Copy link
Member

No, adding text/html conformant documents was under consideration for 3.1 (in the first editor's draft), but ultimately got rejected. The entry in the CMT table will be removed before we move to recommendation.

Any resource that isn't a core media type can be included in the spine with a fallback, so that doesn't change.

@jacqueslelezard
Copy link
Author

Ok it has been rejected, I wasn't sure of that, thanks. So we can use HTML but always with fallback.

@mattgarrish
Copy link
Member

Yes, until epub 4 or portable web publications come along, it's unfortunately not possible to have text/html stand alone in the spine without a fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants