An HTML Ebook Template

One of the easiest ways to get started on an ebook is to use a template. And, if you’ve read my last post, you know that I don’t think you should use Word for your ebooks or your templates. This is a basic HTML template for creating an ebook for Kindle/mobi. The benefit of using this template is that you can quickly convert it to epub and other ebook formats without too much trouble.

To use this template, simply copy and paste it into a text editor or HTML editor. Then add your chapters, titles, and so on.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<title>The title of your book</title>
</head>
<body>
<p><img src="cover.jpg"/></p>
<a name="start" /><h1>Your Book Title</h1>
<h2>Sub-Title</h2>
<h3>By Your Name</h3>
<mbp:pagebreak/>
<p>Copyright &copy; Your Name The Year. All rights reserved.</p>
<p>Published in Your Country</p>
<p>First publication date <em>Month, Year</em></p>
<mbp:pagebreak/>
<a name="TOC" /><h2>Table of Contents</h2>
<a href="#chapter1"><h3>Chapter 1</h3></a>
(Repeat for second and following chapters.)
<mbp:pagebreak/>
<a name="chapter1" /><h2>Chapter 1</h2>
<p>Your chapter 1 paragraphs</p>
<mbp:pagebreak/>
(Repeat for second and following chapters.)
</body>
</html>

Save your cover image in the same folder as your HTML file and name it cover.jpg. Then go in and edit the file in your HTML editor to add your book details.

About Jennifer Kyrnin

Jennifer Kyrnin has been teaching people how to publish online content since 1997. She writes the About.com site about HTML and web design. She has published several books on web design and writing online and has assisted authors in creating ebooks and publishing their work and making money doing it!