-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtml_template_for_a_kindle_book.html
308 lines (224 loc) · 5.4 KB
/
html_template_for_a_kindle_book.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<html>
<!-- HTML template for a Kindle book
== COPYRIGHT NOTICE ==
Copyright (c) 2013 Sal Razzaq, All Rights Reserved.
This template is licensed under The MIT License (MIT)
See: http://opensource.org/licenses/MIT
You are free to use this HTML template
for any purpose, commercial or non-commercial, as long as
this copyright and permission notice is included as a
comment in all copies or substantial portions
of this template.
-->
<!--
INSTRUCTIONS:
1) Search for "**" (two asterisks without the quotes)
2) Replace/insert your book content
Please find the accompanying book
"FORMAT YOUR KINDLE BOOK WITH HTML"
at:
http://www.amazon.com/dp/B00GL47TMG
-->
<head>
<title>Title of your book**</title>
<!-- CSS Styles - START -->
<style type="text/css">
/* Indented paragraph, adds vertical space after paragraph */
p{
text-indent:.25in;
margin:0px 0px 10.0pt 0px;
}
/* Non-Indented paragraph, adds vertical space after paragraph */
div{
margin:0px 0px 10.0pt 0px;
}
/* Centered paragraph, adds vertical space after paragraph */
div.center{
text-align:center;
margin:0px 0px 10.0pt 0px;
}
/* Format a block of monospaced text, adds vertical space after block */
div.mono{
font-family:courier;
font-weight:bold;
text-align: left;
margin:0px 0px 10.0pt 0px;
}
/* Format a portion of monospaced text */
span.mono{
font-family:courier;
font-weight:bold;
}
/* Highlight a portion of text */
span.highlight{
background-color: yellow;
color: black;
}
/* Show text in a font size bigger than normal text */
span.big{
font-size:1.8em;
}
/* Centered CHAPTER heading */
h1{
text-align:center;
}
/* NOTE: Use h2 tag for TOPICS within chapters - no special style */
/* SUB-TOPICS under topics in chapters - Centered */
h3{
text-align:center;
}
</style>
<!-- CSS Styles - END -->
</head>
<body>
<!-- Front Matter - START -
Title Page
Copyright Notice
Dedication
-->
<!-- Title Page - START -->
<h1>Title</h1>
<h1><i>of</i></h1>
<h1>your book**</h1>
<h3>** Edition</h3>
<h3>By author's name**</h3>
<mbp:pagebreak />
<!-- Title Page - END -->
<!-- Copyright Page - START -->
<div>BOOK PRESS**</div>
<div>Name of your book**</div>
<div>** Edition</div>
<div>By author's name**</div>
<div>Copyright © 2013 by author's name**, All Rights Reserved.</div>
<div>Additional notices**</div>
<mbp:pagebreak />
<!-- Copyright Page - END -->
<!-- Dedication Page - START -->
<div class="center"><i>This book is dedicated to **</i></div>
<mbp:pagebreak />
<!-- Dedication Page - END -->
<!-- Front Matter - END -->
<!-- Table of Contents - START -->
<h3><a name="toc">Contents</a></h3>
<div><a href="#Start">Preface</a></div>
<div><a href="#1">I. The Beginnings**</a></div>
<ul>
<li><a href="#1_arrival">The Arrival**</a></li>
<li><a href="#1_settlements">Settlements**</a></li>
</ul>
<div><a href="#2">II. The Colonies**</a></div>
<ul>
<li><a href="#2_jamestown">Jamestown**</a></li>
</ul>
<div>
<a href="#bibliography">Bibliography</a>
</div>
<div>
<a href="#appendix">Appendix</a>
</div>
<div>
<a href="#notes">Notes</a>
</div>
<div>
<a href="#glossary">Glossary</a>
</div>
<div>
<a href="#author">About the author</a>
</div>
<mbp:pagebreak />
<!-- Table of Contents - END -->
<!-- Preface - START -->
<h1><a name="Start">Preface</a></h1>
<p>
<span class="big">W</span>hat is this book about**
</p>
<p>
More about the book**
</p>
<mbp:pagebreak />
<!-- Preface - END -->
<!-- Chapter I - START -->
<h1><a name="1">Chapter I</a></h1>
<h1>The Beginnings**</h1>
<p>
<span class="big">T</span>his is how it all began**
</p>
<h2><a name="1_arrival">The Arrival**</a></h2>
<p>
They <a href="#note_travelmode">traveled</a>
hundreds of miles**
</p>
<h2><a name="1_settlements">Settlements**</a></h2>
<p>
They settled along the east coast of
North America**
</p>
<p>The migration towards the west occurred
years later**</p>
<mbp:pagebreak />
<!-- Chapter I - END -->
<!-- Chapter II - START -->
<h1><a name="2">Chapter II</a></h1>
<h1>The Colonies**</h1>
<p>
<span class="big">C</span>olonies started to appear along the
east coast**
</p>
<h2><a name="2_jamestown">Jamestown**</a></h2>
<p>
Jamestown was one of the
<a href="#note_othercolonies">first
colonies</a> but**
</p>
<mbp:pagebreak />
<!-- Chapter II - END -->
<!-- Back Matter - START
Bibliography
Appendix
Notes
Glossary
-->
<!-- Bibliography - START -->
<h1><a name="bibliography"/>Bibliography</h1>
<ul>
<li>Joseph Past**. History of USA**.</li>
</ul>
<mbp:pagebreak />
<!-- Bibliography - END -->
<!-- Appendix - START -->
<h1><a name="appendix"/>Appendix</h1>
<p>
Appendix text goes here**
</p>
<mbp:pagebreak />
<!-- Appendix - END -->
<!-- Notes - START -->
<h1><a name="notes"/>Notes</h1>
<div>
<a name="note_travelmode">Modes of travel: The settlers
traveled by sea**</a>
</div>
<div>
<a name="note_othercolonies">Other colonies: There were other
colonies as well**</a>
</div>
<mbp:pagebreak />
<!-- Notes - END -->
<!-- Glossary - START -->
<h1><a name="glossary"/>Glossary</h1>
<dl>
<dt>Jamestown**</dt>
<dd>One of earliest settlements**</dd>
<dt>Mile**</dt>
<dd>A unit for measuring distance**</dd>
</dl>
<mbp:pagebreak />
<!-- Glossary - END -->
<!-- About the author - START -->
<h1><a name="author"/>About the author</h1>
<p>Author's name** previous work includes</p>
<!-- About the author - END -->
<!-- Back Matter - END -->
<!-- END OF BOOK -->
</body>
</html>