







When you first make an ebook, the strangest part is usually not the manuscript. You already have the writing and the images, and you have a fair idea of the cover, but the moment you meet the names EPUB, HTML and CSS, making a book suddenly feels like a developer’s job. It is only the unfamiliar acronyms. What these three do is clearer than you might expect. One is the format that holds the book, one sets up the order of the writing, and one turns that order into something pleasant to read.
An ebook is not a printed book moved onto a screen as it is. Readers read the same book on a palm-sized phone, a wide tablet, a black-and-white e-reader, or a computer screen. Some enlarge the type, some switch to night mode, and some turn the screen sideways. An ebook doesn’t treat these changes as problems; it takes them as the book gradually making room for the reader. EPUB, HTML and CSS are the three agreements that make this flexible reading possible.
In this article, instead of memorizing the three names, we look in turn at the role each plays in getting an ebook to its reader.
1.EPUB bundles the text, images and table of contents into a single ebook and lets it be read on many devices.
2.HTML sorts out the meaning and reading order of the text, such as titles, body text and lists.
3.CSS refines the type, margins and the breathing of images so the book reads comfortably.
4.Finally, we look at how an ebook comes together when the three work as one.
EPUB is the standard format for ebooks. It gathers what a publication needs, such as a cover, many pages of body text, a table of contents, images, fonts, and the book’s title and author information, and binds it all into one volume. It would be a little short-sighted to think of it as just a box of many files zipped together. EPUB is also a way of agreeing with the reading app on the order in which those pieces are read, where the table of contents jumps to, and which text is a title and which is body.
The most important trait of this format is that the body text reflows to fit the screen. In a printed book, a page is fixed on a sheet of paper of a set size, but a page in an EPUB changes with the reader’s screen and settings. Enlarge the type and fewer sentences fit on a screen, on a small screen paragraphs run longer, and in landscape the margins and line lengths are adjusted again. The content of the book is the same, but the shape of the page is made anew each time so that the reader can read comfortably.
That is why EPUB and PDF are choices that look alike but differ. PDF is strong at preserving the exact look of a printed page. When the layout of a page is itself the content, as in photo books, exhibition catalogs and complicated charts, PDF is excellent. For books meant to be read at length, such as novels, essays and humanities titles, EPUB’s flexibility becomes the bigger advantage. In a printed book, where a paragraph begins and ends is set by the size of the paper; in an EPUB, the reader’s eyes and the size of the device enter into that standard as well.
EPUB carries another meaning: it is a common language for distribution. Ebook stores and e-readers each have their own screens and features, but through the agreement called EPUB, one book can be read in each of their environments. Instead of making a new book for every device, a publisher prepares a single, well-organized EPUB. Of course, how it appears can differ from store to store and reader to reader. So making an EPUB is less about controlling a perfectly fixed result than about designing so that the heart of the book holds steady across many environments.
EPUB in Brief
EPUB is a format that binds the cover, body text, table of contents, images and book information into one ebook.
Because the body text reflows to suit the screen and the reader’s settings, it is especially well suited to long reading.
If PDF is the format that keeps the shape of the page, EPUB is closer to a format that welcomes the reading environment.
A good EPUB aims not at a book that looks identical on every screen, but at one that reads like a book on any screen.
HTML is less a technology for drawing letters on a screen than a language for telling the roles of text apart. It tells you whether the first sentence is the book’s title, whether the next paragraph is body text, whether the short line before a passage is a subheading, and whether several items form a list. Just as an editor of a printed book separates titles, body text, quotations, notes and the table of contents as different kinds of manuscript, HTML marks the nature of sentences inside a digital book.
For example, making a title merely look bigger than the body is different from telling the book that it really is a title. To a human eye both may look like large type, but e-readers and screen readers understand a book through its structure. A sentence marked as a title can serve as a basis for the table of contents, readers can move quickly between titles, and readers who listen instead of looking can still follow the flow of the book. The structure of HTML doesn’t show on the surface, but it works as a signpost that keeps the book from losing its way.
HTML matters because it can preserve the relationships between sentences even when the screen changes. Where lines break and how many characters fit on a page may vary with the device, but the relationship “these paragraphs follow under this title” doesn’t need to change. A well-built structure keeps the book’s order when the type is enlarged, when the book moves to another e-reader, and when the content is revised and republished later. In an ebook, a structure that can be understood on any screen comes before one good-looking screen.
This ties into accessibility as well. Some people find small type hard to read and choose larger type, and some listen to a book with a screen reader. Some use the table of contents to go straight to the chapter they need. When titles, paragraphs, lists and quotations each have their role, an ebook opens naturally to more readers. HTML is easiest to understand not as a device that adds special features, but as an editing language that keeps text from losing the meaning it originally had.
HTML in Brief
HTML tells apart the roles and order of text, such as titles, body text, lists and quotations.
More than large type itself, the information that “this sentence is a title” matters for the table of contents, navigation and accessibility.
It keeps the structure of the text intact even when the screen’s line breaks change.
It is the groundwork that lets readers understand the flow of the book, whether they read it, listen to it, or jump to the chapter they want.
CSS adds visual order and mood to the structure that HTML has set apart. Choices such as what impression a typeface gives, how large the body type should be to feel comfortable, how much breathing room to leave between lines, and how much space to put around a title are applied to the book through CSS. So it falls a little short to call CSS merely a “decorating technology.” CSS adjusts the pace and density a reader feels when moving from one sentence to the next.
Even the same manuscript reads like a different book when the typeface and margins change. If the line spacing is too tight, the sentences crowd each other and feel stuffy, and if it is too loose, the flow of thought breaks. If a title is too large, only its presence is left and the body fades, and if you insist on wide margins on a small screen, there are fewer sentences left to read. Good CSS is not about adding many showy effects; it is a balance that lets the reader step into the writing without noticing the design.
What CSS must especially watch in an ebook is the changing screen. With printed matter, a designer can check that every reader’s page looks the same, but an ebook is different. A reader may enlarge the type, use the device’s default typeface, or darken the background. So ebook design must prepare rules that don’t collapse under many conditions, instead of fixing one finished scene. Keeping images from running past the screen, keeping paragraphs from becoming too narrow, and keeping the hierarchy of titles and body text intact belong here.
CSS also shows a publisher’s attitude. Tidy type and restrained margins build trust in a book meant for long reading, while generous images and a varied composition can bring out the mood of visual prose or an essay. In an ebook, though, it is important to have a sense of which areas the reader may change and which the publisher must protect. Respect the reader’s choice of type size, but design so that the hierarchy of paragraphs, the meaning of images and the tone of the whole book don’t easily fall apart.
CSS in Brief
CSS decides what the reader actually sees, such as the typeface, size, line spacing, margins and image placement.
Its role is closer to readability than decoration, and it shapes reading speed and the flow of concentration.
In an ebook, rules that don’t collapse across many screens matter more than the polish of a single screen.
Good CSS respects the reader’s settings while keeping the book’s own mood and hierarchy.
If EPUB is the format that holds the book, HTML is closer to the editor who keeps the order of the writing within it, and CSS to the designer who hands that order to the reader in a pleasant form. EPUB alone cannot say enough about which text is a title or where the body begins. HTML alone can establish the meaning of the text, but it is hard pressed to decide the mood of the type and the breathing of the reading. CSS alone has nothing to decorate and no order to follow. Only when three different roles mesh does a single ebook take its own form before the reader.
Knowing this relationship also simplifies the order of making an ebook a little. First, sort out within the manuscript what the titles, subheadings, body text, quotations and lists are. Next, think about the rhythm in which that writing should be read. For long prose, put the comfort of the body first; for a book where images matter, you can set the breathing between images and sentences with more care. Finally, bind it all so that everything has a table of contents and reading order inside one EPUB. Even if you never write code, understanding this order makes the choices you make in an editor much clearer.
What an ebook editor does is, in the end, translate between these. When a creator gives a title, divides paragraphs and places images, the editor turns those choices into the structure of HTML, the rules of CSS and the format of EPUB. So making an ebook is not a job where being good at just one of writing, design or technology is enough. It is the work of tuning the three areas so they don’t encroach on one another, and making a book the reader can finish.
The Three in Brief
EPUB binds the book and prepares it in a form that can be distributed.
HTML preserves the meaning and order of the content.
CSS makes that content read comfortably on many screens.
Rather than memorizing these three names, it is enough for a creator to understand the relationship between structure, readability and reading environment.
A printed book is largely finished in one form the moment it is published. An ebook, by contrast, is edited again a little each time a reader opens it. The size of the screen, the size of the type, the time of day, and the way the e-reader works all affect the surface of the book. That does not mean an ebook is a less finished book. On the contrary, only a finished manuscript, a sturdy structure and a design that cares for the reader can keep the book’s identity through the change.
EPUB, HTML and CSS exist to bear that change. At first they look like strange names, but in the end they are different ways of getting writing read properly. The person who writes the story shapes the flow of the sentences, the person who edits gives that flow a structure, and the person who designs makes room where the reader’s eyes can linger. An ebook may be the result of those three jobs meeting on one screen.
This Article in Brief
EPUB binds the manuscript, images, table of contents and book information into one readable ebook.
HTML sorts out the relationships between titles, paragraphs and lists to preserve the book’s meaning and order.
CSS balances type, margins and images to create a pleasant reading experience on many screens.
Creators can first build the content and structure firmly, and then refine the rhythm of reading that lets readers linger.
