(^622) Appendix D Comparison of HTML 4, XHTML, and HTML 5
XHTML
<?xml version="1.0" encoding="UTF-8"?>
HTML 5 (HTML Syntax)
Not required
HTML 5 (XHTML Syntax)
Not required
D.2 Document Type Definition
Both XHTML 1.0 and HTML 4 have three distinct document type definitions: strict,
transitional, and frameset. XHTML 1.1 has one document type definition. The
Document Type Definitions (DTDs) follow:
HTML 4 Strict DTD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
HTML 4 Transitional DTD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
HTML 4 Frameset DTD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
XHTML 1.0 Strict DTD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XHTML 1.0 Transitional DTD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhmtl1-transitional.dtd">
XHTML 1.0 Frameset DTD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhmtl1-frameset.dtd">