From MobileRead
Jump to: navigation, search

HTML0 is the internal format for Book Designer, (BD) files.

[edit] Overview

Generally an HTML0 file can be displayed in a browser with OK results. It is basically similar to standard HTML with the major exception that it does not use the <p> tag for paragraphs. Instead it uses the <DIV> tag for almost everything in the document. A </DIV> is used to close the <DIV>

The <SPAN> tag is also used a lot to define the scope of a setting.

CSS is not supported as a separate document but Style tags are permitted inside of standard tags. For example the <BODY> will typically include a style tag that effects the display of the document on the screen in BD but may not be translated to the Book when it is created.

[edit] Example

Here is an example showing how the file begins.

<HTML><meta content="text/html; charset=windows-1252" 
http-equiv="Content-Type"><BODY style="FONT-WEIGHT:normal; FONT-SIZE:small; 
MARGIN-BOTTOM:245px; LINE-HEIGHT:normal; FONT-FAMILY:Times New Roman" 
text=#000000 bgColor=#FFFFFF>
<span style="margin-left: 2%; margin-right: 2%;">
<H2 id=BookAuthor align=center><FONT color=#ff0000>Lewis Carroll</FONT> </H2>
<H2 id=BookTitle align=center><FONT color=#b90000>Through the Looking 
Glass</FONT> </H2>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<SPAN id=title><DIV align=center><FONT color=#001950><B>And What 
Alice Found There</B></FONT></DIV>
</SPAN><SPAN id=title <DIV align=center><FONT 
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<SPAN id=title><DIV align=center><img src="BMP" recindex="00001"></DIV>
<DIV align=justify>&nbsp;&nbsp;&nbsp;&nbsp;</DIV>

[edit] Tips

  • It is possible to add HTML data directly to the file to influence the output of some formats. Some experimentation is required.
  • A utility exists to convert HTML0 to HTML. See MobileRead Thread. This can be used to convert eBooks from Book Designer to Sigil for example.
Personal tools

MobileRead Networks