Lab 99 Web Design

Skip the navigation

How to Create an Ebook

This series of articles will not tell you how to write an ebook, or how to design a cover, or how to get your ebook noticed, or how to submit it to online bookshops such as Amazon. It will, however, tell you how to format the text so that any mistakes that do occur are the fault of the ebook–reading software rather than the author or publisher.

Problems with Ebooks

As a general rule, the production standard of printed books is much higher than that of ebooks. Whatever the format of the book, the occasional spelling mistake is only to be expected, but ebooks introduce a range of imperfections that you almost never see in printed books.

It is not uncommon for sections of text to appear in different typefaces for no obvious reason. Certain letters are sometimes rendered incorrectly; for example, ‘I am’ can appear as ‘1 am’. Parts of an ebook, such as images, can appear in the wrong place.

There are three main reasons for this:

There is nothing you can do about the third of these, but you can eliminate the first two by creating your ebook correctly in the first place.

Producing Good–Quality Ebooks

The following four articles in this series will give you the knowledge to create a wide range of ebooks, both fiction and non–fiction.

There is one problem, however. At the time of writing, 2018, it is difficult to format an ebook so that it looks equally good on every type of ebook–reading software or device. A design feature that works on one device may not be noticeable on a second device, and may mess up the layout on a third device. This is a consequence of the poor state of current ebook–reading software, which will no doubt improve in the future.

What Is an Ebook?

Ebooks are very similar to websites. Ebooks, like websites, are collections of documents. Each chapter of an ebook is the equivalent of a page in a website. Ebooks use the same coding system that websites use: HTML, or HyperText Markup Language.

Differences Between Ebooks and Websites

There are some minor differences:

Ebook Formats

At the time of writing, almost all ebooks are produced in one of two formats:

The documents that comprise an ebook are identical in both formats. A handful of other formats exist, but are not commonly used. This set of instructions deals with the EPUB and Amazon formats.

The Skills Needed to Create an Ebook

To follow these instructions, you require only very basic computer skills. You need to know how to copy and paste, how to create a folder or directory, how to save and name a document, and how to navigate to a document that is stored on your computer.

You will need to know that the words ‘document’ and ‘file’ are interchangeable, and that it is bad practice to include spaces in the names of files and folders. In the case of ebooks, file names must not include spaces, or the ebook will not work.

It will help if you know how to find and replace text, but this is not essential. You will also need to zip files, but you will be told how to do this.

The Tools Needed to Create an Ebook

You will be creating documents that consist solely of text and computer code. Don’t be afraid of the word ‘code’; everything is explained, and you will only need to copy what is given to you.

To do this, you will need to use a piece of software called a text editor. A word processor, such as Word, will not do. It will introduce formatting and layout code, which will cause the documents not to work as part of an ebook.

Your computer almost certainly contains a text editor:

Any of these text editors will do the job perfectly well. Others are available for each operating system; if you want to try something else, search online for ‘text editor‘ or ‘programming editor’. Windows users should be aware that Notepad lacks a couple of very handy features:

Documents become much easier to read when the various elements are colour–coded and when the lines are numbered. Windows users may like to know that there is program called Notepad Plus Plus which includes these features. It can be downloaded free of charge from If you are a Windows user, you can create an ebook using Notepad, but Notepad Plus Plus will make your life much, much easier. Download it now!

Next …

Continue with the next article: Formatting the Text.

[This tutorial is part 1 of a series by Jeremy Bojczuk, showing you how to code an ebook.]