2. ePUB
• XHTML
for content
• CSS
for layout and formatting
• XML
for manifest, table of contents, metadata
3. ePUB
• Open Publication Structure (OPS)
formatting of its content
• Open Packaging Format (OPF)
XML .epub format
• Open Container Format (OCF)
ZIP archive
4. Open Publication Structure
• XHTML
• CSS - OPS Style Sheet. ‘oeb-’ prefix.
• Image - PNG, JPG, GIF and SVG
• UTF-16 or UTF-8
5. Open Publication Structure
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/
DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml;
charset=utf-8" />
<title>Pride and Prejudice</title>
<link rel="stylesheet" href="css/main.css" type="text/css" />
</head>
<body>
...
</body>
</html>