2. Reflowable Typography & Bilingual Text

当一篇文章同时包含中文与英文内容时(例如技术文档、读书笔记或双语对照材料),EPUB 3 必须声明完整的 UTF-8 编码与清晰的语义层级。

Core Formatting Rules (排版规范)

Good conversion strips hardcoded pixel widths while keeping headings, paragraphs, emphasis, and structured data tables intact.

Diagram illustrating clean heading hierarchy and bilingual spacing
Figure 2.1 — Clean heading hierarchy preserves navigation across devices.
Element Web Behavior EPUB 3 Output
Headings (h1–h3) Visual hierarchy Indexed into nav.xhtml Table of Contents
Images (JPEG / PNG) Linked via relative URL Bundled under EPUB/images/ with max-width 100%
Scripts & Forms Interactive DOM behavior Stripped cleanly for reader safety

Return to Chapter 1's core principle or continue to Chapter 3.