HTML and XHTML: The Definitive Guide, Fifth Edition FROM OUR EDITORS
The Barnes & Noble Review
Sure, by now, most web sites are just too big to hand-craft everything -- and with great tools like Dreamweaver, you donᄑt have to. But if youᄑre a serious web professional, there will still be plenty of times when you need to understand how the HTML is really working -- or not.
One day, youᄑll need to tweak errant HTML into shape. Another day, youᄑll need to add a feature thatᄑs not supported by your editor -- say, a CSS2 property. Equally important, there will be higher-level concepts and techniques you may simply not have come across in your travels -- especially if, like most folks, you learned by spying on other folksᄑ source. And, of course, if youᄑve found reasons to use XHTML, chances are youᄑll really need some guidance there.
At times like these, what are you gonna do -- go read the original W3C specifications? Get real. Rather, we recommend a book thatᄑs almost the polar opposite of the specs documents: HTML & XHTML: The Definitive Guide, Fifth Edition by Chuck Musciano and Bill Kennedy.
Where the specs can be stunningly abstruse, this bookᄑs as clear as the mountain air atop Everest. The specs appear almost deliberate in their refusal to give you any context. This book tells you why youᄑre doing what youᄑre doing -- and why you shouldnᄑt do what you shouldnᄑt be doing. The specs are -- by definition -- interested only in setting standards. This bookᄑs very healthy respect for standards is matched by equal respect for the real world, which is full of deprecated HTML that works.
This Fifth Edition has been thoroughly updated for the latest browsers and HTML/XHTML technologies, including Netscape Navigator 6, Internet Explorer 6, HTML 4.01, CSS2, and the final release of XHTML 1.0. Musciano and Kennedy encourage you to use XHTML 1.0 for new pages and applications, while leaving the old stuff alone.
They also take a brief and unhappy look at XHTML 1.1, which you probably wonᄑt have to worry about for a while -- if ever. You can feel the steam rising off the page: ᄑIf you think of XHTML 1.0 as unwieldy, picky, and time-consuming, youᄑll find XHTML 1.1 even more so. In our opinion, XHTML 1.1 is an example of the standards process taken to absurd levels, defining a standard that may be academically pure but is essentially unusable.ᄑ
Back to more pleasant topics. Pretty much anything youᄑll want to do with HTML is in this book: text formatting, rules, images, embedded multimedia, links, formatted lists, CSS, forms, tables, frames, basic XML and XHTML, and more. Thereᄑs also a complete chapter on embedding executable content. (Though this isnᄑt the place to learn how to write CGI or JavaScript. OᄑReilly has other books for those, notably CGI Programming with Perl, Second Edition and David Flanaganᄑs well-respected JavaScript: The Definitive Guide, Fourth Edition).
The bookᄑs coverage of forms is especially thorough. The authors review what has to happen on both the server and client side in order for a form to work, then cover all the basics (for example, when to use POST vs. GET; how to use each form interface element). Thereᄑs also a section on creating effective forms, including how to cope with limited displays and browser constraints. Youᄑll also walk through using email to collect forms data (essential when you canᄑt write CGI or your ISP doesnᄑt support it), but remember that email responses are far less secure!
We especially like the last chapter, "Tips, Tricks, and Hacks" (and, frankly, wish it were even longer). Favorite hacks: using tables to create multicolumn layouts complete with straddle heads and side heads, and overriding othersᄑ targets to help your site visitors break out of someone elseᄑs misbegotten frames. Best of all, unlike some ᄑhacksᄑ weᄑve seen, this bookᄑs HTML wonᄑt transform your pages into formless chaos when someone has the audacity to use the wrong browser. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.
FROM THE PUBLISHER
HTML! XHTML! Cascading Style Sheets! Standards for writing web pages are hard to sort out, especially because various versions of Netscape and Internet Explorer differ in their implementations. HTML & XHTML: The Definitive Guide brings it all together for you. The authors search out the standards and the browser features and give you concrete advice on creating web pages for the broadest possible range of audiences and platforms.
Learning HTML or XHTML is like learning any other language. Most students first immerse themselves in examples. Studying what others do makes learning easy and fun, but imitation can take you only so far. It's as easy to learn bad habits through imitation as it is to acquire good ones. The better way to achieve fluency is through a comprehensive reference that covers language syntax, semantics, and variations and helps you distinguish between good and bad usage.
HTML & XHTML: The Definitive Guide helps you both ways: the authors cover every element of the two standards in detail, explaining how each element works and how it interacts with other elements. Many hints about style help you write documents ranging from simple online manuals to complex marketing presentations. With hundreds of examples, the book gives you models for writing effective web pages and mastering advanced features.
SYNOPSIS
HTML and its XML-based derivative, XHTML, are the fundamental languages for working on the web, and the new edition our popular HTML guide offers web developers a better way to become fluent in these languages. HTML & XHTML: The Definitive Guide, 5th Edition is the most comprehensive, up-to-date book available on HTML and XHTML. It covers Netscape Navigator 6, Internet Explorer 6, HTML 4.01, XHTML 1.0, CSS2, and all of the features supported by the popular web browsers.
Learning HTML and XHTML is like learning any new language. Most students first immerse themselves in examples. While studying others is a natural way to learn, it's as easy to learn bad habits through imitation as it is to acquire good ones. The better way to become HTML-fluent is through a comprehensive reference that covers the language syntax, semantics, and variations in detail and demonstrates the difference between good and bad usage.
In HTML & XHTML: The Definitive Guide, the authors cover every element of HTML/XHTML in detail, explaining how each element works and how it interacts with other elements. Tips about HTML/XHTML style help you write documents ranging from simple online documentation to complex presentations. With hundreds of examples, the book gives you models for writing your own effective web pages and for mastering advanced features like style sheets and frames.
HTML & XHTML: The Definitive Guide, 5th Edition, shows how to:
Use style sheets to control a document's appearance
Work with programmatically generated HTML
Create tables, from simple to complex
Use frames to coordinate sets of documents
Design and build interactive forms and dynamic documents
Insert images, sound files, video, Java applets, and JavaScript programs
Create documents that look good on a variety of browsers
Make the transition to XHTML
The book comes with a handy quick-reference card listing HTML tags.