![]() |
#1 |
Steppenwolf
![]() Posts: 46
Karma: 10
Join Date: Jul 2012
Location: Rio de Janeiro, Brazil
Device: Nook Simple Touch, Kindle Touch, Kindle 4 & Kindle Keyboard
|
HTML OR XHTML? Wich One To Use?
Hi everyone, I've read on some tutorials (depends on the author) that one should use HTML to format a mobi book, and XHTML to format an epub book. Is this a rigid rule, or can I use one or the other no matter if it will be used to format a mobi or an epub bnook? Can someone tell me about the right thing to do, because I am really confused about ithis matter. Thank you all for helping me out.
|
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Steppenwolf
![]() Posts: 46
Karma: 10
Join Date: Jul 2012
Location: Rio de Janeiro, Brazil
Device: Nook Simple Touch, Kindle Touch, Kindle 4 & Kindle Keyboard
|
Tkx for your help Dale. So you agree if my intention is to code directly for mobi, the correct is to use html, and on the other hand, if it's to be coded directly for ebup with Sigil for example, I shoul use xhtml. Is this the right thing to do? Tkx.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
I really don't think it matters a scrap whether one uses html or xhtml.
I use the same HTML editor for ePubs that I used in the olden days when I dabbled in web design, and it produces html files. They validate to W3C standards as xhtml 1.1 strict, and the ePubs I produce with them validate with ePubCheck and FlightCrew. |
![]() |
![]() |
![]() |
#5 |
Steppenwolf
![]() Posts: 46
Karma: 10
Join Date: Jul 2012
Location: Rio de Janeiro, Brazil
Device: Nook Simple Touch, Kindle Touch, Kindle 4 & Kindle Keyboard
|
Tks Alex.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 343115
Join Date: Nov 2009
Location: Romania
Device: PW2 2014
|
Doesn't matter.
Adobe InDesign CS5.5 exports ePubs as a bunch of HTML files (don't know about 6.0 yet), while new projects in Sigil will be as XHTML, and FineReader 11 will also export ePubs that contain XHTML files. ePubs can also be in XML format. See the screenshots from: http://code.google.com/p/sigil/ |
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The filename doesn't matter at all. The format (the content) must be XHTML for ePub.
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
In addition ePub supports CSS which mobipocket does not. All the people claiming it doesn't matter are using tools that fix things for them and do not understand what is going on under the hood. Dale |
|
![]() |
![]() |
![]() |
#9 |
Steppenwolf
![]() Posts: 46
Karma: 10
Join Date: Jul 2012
Location: Rio de Janeiro, Brazil
Device: Nook Simple Touch, Kindle Touch, Kindle 4 & Kindle Keyboard
|
Many thanks to all of you who are helping me out with these precious hints.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating chapters in xhtml/html | ayutheos | Sigil | 7 | 10-18-2012 08:35 AM |
When Calibre Goes to Sigil in HTML *and* XHTML | Tulpana | Sigil | 6 | 07-09-2012 10:03 AM |
HTML Anchor in XHTML | arreke | Sigil | 3 | 12-27-2010 01:28 PM |
Several xhtml/html to a single epub file help. | clowe1028 | ePub | 3 | 03-21-2010 03:47 AM |
Jetbook HTML (XHTML) | rogue_ronin | Ectaco jetBook | 19 | 02-12-2010 09:13 PM |