Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1

(^632) Appendix D Comparison of HTML 4, XHTML, and HTML 5
<![endif]——>





The Logo Area




Section Heading



Article Heading


The article content




Article Heading


The article content




The Page Footer



Even though it’s intriguing to experiment with HTML 5, it’s not yet ready for use on
commercial Web sites. Keep in mind that the W3C still needs to complete the process to
move HTML 5 from draft to recommendation status. Although new browser versions
will offer increased support for HTML 5, not all your Web site visitors will install the
latest version and workarounds will be likely (such as the CSS styles and script shown
above). However, it’s important to be aware of HTML 5—it’s the way of the future!
Explore the following resources to learn more about HTML 5:
●W3C’s Web Developer’s Guide to HTML 5
[http://dev.w3.org/html5/html-author](http://dev.w3.org/html5/html-author)
●W3C’s Interactive Chart of HTML 4 and HTML 5 Elements
[http://dev.w3.org/html5/html-author/#comparison-of-html-4.01-and-html-5-elements](http://dev.w3.org/html5/html-author/#comparison-of-html-4.01-and-html-5-elements)
●HTML 5 Doctor
[http://html5doctor.com](http://html5doctor.com)
●HTML 5 Demos
[http://html5demos.com](http://html5demos.com)
●HTML 5 Cheat Sheet
[http://media1.smashingmagazine.com/wp-content/uploads/images/](http://media1.smashingmagazine.com/wp-content/uploads/images/)
html5-cheat-sheet/html5-cheat-sheet.pdf

D.14 Summary


As you can see from these examples, there are many similarities between HTML 4,
XHTML, and HTML 5. After learning to code in one of these markup languages, such
as XHTML, it is easy to transition to the others if needed. Visit the W3C’s Web site for
the most up-to-date information about XHTML (http://www.w3.org/TR/xhtml1) and
HTML 5 (http://www.w3.org/TR/html5).
Free download pdf