Thread: HTML Or XHTML?
View Single Post
Old 09-29-2013, 02:45 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Nook uses ePub, as far as I know, and ePub uses XHTML.

Kindle uses mobi, which is proprietary and without open specifications, so it could be whatever. But there are at least two versions:

"Old" mobi, before KF8/AZW3: It uses a custom HTML-like language, with a limited set of tags, a special meaning for some attributes and some new tags.

"New" mobi, KF8/AZW3: It's basically a repackaged ePub, from what I've heard, so I guess it's XHTML too.

In any case, you don't write the mobi directly, but convert it from something else. Typically, you'll create an ePub first (so: XHTML) and convert with kindlegen or calibre. But it's possible to write the pseudo-HTML code in the old mobi format and convert with something like MobiPerl too.
Jellby is offline   Reply With Quote