Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1

(^628) Appendix D Comparison of HTML 4, XHTML, and HTML 5
XHTML



HTML 5 (HTML Syntax)

HTML 5 (XHTML Syntax)

An alternative way to use JavaScript on a Web page that is supported by XHTML stan-
dards is to place JavaScript statements in their separate (.js) file. This file can be config-
ured by the
XHTML

HTML 5 (HTML Syntax)

D.13 HTML 5


You’ve seen some examples of HTML 5 syntax; now let’s delve deeper in to HTML 5.
Currently in draft status, HTML 5 is a superset of HTML 4, provides for the use of
XHTML-like syntax (such as enclosing attributes within quotation marks, and always
coding both opening and closing tags), and is intended to be backward compatible. The
Free download pdf