Book description
HTML and its XML-based descendant, XHTML, are the fundamental languages for working on the web, and the new edition of 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. Studying others is a natural way to learn; however, 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/XHTML tags.
Table of contents
-
HTML & XHTML: The Definitive Guide, 5th Edition
- Preface
- 1. HTML, XHTML, and the World Wide Web
- 2. Quick Start
- 3. Anatomy of an HTML Document
-
4. Text Basics
- Divisions and Paragraphs
- Headings
- Changing Text Appearance and Meaning
-
Content-Based Style Tags
- The <abbr> Tag
- The <acronym> Tag
- The <cite> Tag
- The <code> Tag
- The <dfn> Tag
- The <em> Tag
- The <kbd> Tag
- The <samp> Tag
- The <strong> Tag
- The <var> Tag
- The class, style, id, and title Attributes
- The dir and lang Attributes
- Event Attributes
- Summary of Content-Based Tags
- Allowed Content
- Allowed Usage
- Combining Content-Based Styles
-
Physical Style Tags
- The <b> Tag
- The <big> Tag
- The <blink> Tag (Obsolete Extension)
- The <i> Tag
- The <s> Tag (Deprecated)
- The <small> Tag
- The <strike> Tag (Deprecated)
- The <sub> Tag
- The <sup> Tag
- The <tt> Tag
- The <u> Tag (Deprecated)
- The dir and lang Attributes
- The class, style, id, and title Attributes
- Event Attributes
- Summary of Physical Style Tags
- Allowed Content
- Allowed Usage
- Combining Physical Styles
- Precise Spacing and Layout
- Block Quotes
- Addresses
- Special Character Encoding
- HTML’s Obsolete Expanded Font Handling
-
5. Rules, Images, and Multimedia
- Horizontal Rules
-
Inserting Images in Your Documents
- Understanding Image Formats
- When to Use Images
- When to Use Text
- Speeding Image Downloads
- JPEG or GIF?
-
The <img> Tag
- The src attribute
- The lowsrc attribute
- The alt and longdesc attributes
- The align attribute
- Wrapping text around images
- Centering an image
- Align and <center> are deprecated
- The border attribute
- Removing the image border
- The height and width attributes
- Resizing and flood-filling images
- Problems with height and width
- The hspace and vspace attributes
- The ismap and usemap attributes
- The class, dir, event, id, lang, style, and title attributes
- The name, onAbort, onError, onLoad and other event attributes
- Combining <img> attributes
- Video Extensions
- Document Colors and Background Images
- Background Audio
- Animated Text
- Other Multimedia Content
-
6. Links and Webs
- Hypertext Basics
- Referencing Documents: The URL
-
Creating Hyperlinks
-
The <a> Tag
- Allowed content
- The href attribute
- The name and id attributes
- The event attributes
- The rel and rev attributes
- The style and class attributes
- The lang and dir attributes
- The target attribute
- The title attribute
- The charset, hreflang, and type attributes
- The coords and shape attributes
- The accesskey and tabindex attributes
- Linking to Other Documents
- Linking Within a Document
-
The <a> Tag
- Creating Effective Links
- Mouse-Sensitive Images
- Creating Searchable Documents
- Relationships
- Supporting Document Automation
- 7. Formatted Lists
-
8. Cascading Style Sheets
- The Elements of Styles
- Style Syntax
- Style Classes
-
Style Properties
- Property Values
- Property Inheritance
- Font Properties
- Font Selection and Synthesis
- Color and Background Properties
- Text Properties
-
Box Properties
- The CSS2 formatting model
- The border properties
- The border-color property
- The border-width property
- The border-style property
- Borders in shorthand
- The clear property
- The clip property
- The float property
- The height property
- The margin properties
- The padding properties
- The overflow property
- The position properties
- The visibility property
- The width property
- The z-index property
- List Properties
- Table Properties
- Classification Properties
- Generated Content Properties
- Audio Properties
- Paged Media
- Tagless Styles: The <span> Tag
- Applying Styles to Documents
-
9. Forms
- Form Fundamentals
- The <form> Tag
- A Simple Form Example
- Using Email to Collect Form Data
- The <input> Tag
- The <button> Tag
- Multiline Text Areas
- Multiple Choice Elements
- General Form-Control Attributes
- Labeling and Grouping Form Elements
- Creating Effective Forms
- Forms Programming
-
10. Tables
- The Standard Table Model
-
Basic Table Tags
-
The <table> Tag
- The align attribute (deprecated)
- The bgcolor and background attributes
- The border attribute
- The frame and rules attributes
- The bordercolor, bordercolorlight, and bordercolordark attributes
- The cellspacing attribute
- The cellpadding attribute
- Combining the border, cellspacing, and cellpadding attributes
- The cols attribute
- The valign and nowrap attributes
- The width and height attributes
- The summary attribute
- The hspace and vspace attributes
- Common Table Attributes
- The <tr> Tag
-
The <th> and <td> Tags
- The align and valign attributes
- The width attribute
- The height attribute
- The colspan attribute
- The rowspan attribute
- Combining colspan and rowspan
- The nowrap attribute
- The bgcolor and background attributes
- The bordercolor, bordercolorlight, and bordercolordark attributes
- The char and charoff attributes
- The headers and scope attributes
- The abbr attribute
- The axis attribute
- The <caption> Tag
-
The <table> Tag
- Advanced Table Tags
- Beyond Ordinary Tables
- 11. Frames
-
12. Executable Content
- Applets and Objects
-
Embedded Content
-
The <object> Tag
- The classid attribute
- The codebase attribute
- The archive attribute
- The codetype attribute
- The data attribute
- The type attribute
- The align, class, border, height, hspace, style, vspace, and width attributes
- The declare attribute
- The id, name, and title attributes
- The shapes and usemap attributes
- The standby attribute
- The tabindex and notab attributes
- The dir and lang attributes
- Object event handling
- Supporting incompatible browsers
- The <param> Tag
- The <applet> Tag (Deprecated)
- The <embed> Tag (Extension)
- The <noembed> Tag (Extension)
-
The <object> Tag
- JavaScript
- JavaScript Style Sheets (Antiquated)
- 13. Dynamic Documents
- 14. Netscape Layout Extensions
- 15. XML
- 16. XHTML
- 17. Tips, Tricks, and Hacks
- A. HTML Grammar
- B. HTML/XHTML Tag Quick Reference
- C. Cascading Style Sheet Properties Quick Reference
- D. The HTML 4.01 DTD
- E. The XHTML 1.0 DTD
- F. Character Entities
- G. Color Names and Values
- Index
- About the Authors
- Colophon
Product information
- Title: HTML & XHTML: The Definitive Guide, 5th Edition
- Author(s):
- Release date: August 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003821
You might also like
book
HTML & XHTML: The Definitive Guide, 6th Edition
"...lucid, in-depth descriptions of the behavior of every HTML tag on every major browser and platform, …
book
HTML & CSS: The Complete Reference, Fifth Edition, 5th Edition
The Definitive Guide to HTML & CSS--Fully Updated Written by a Web development expert, the fifth …
book
HTML and CSS: Visual QuickStart Guide, 9th Edition
Learn HTML and CSS with the Visual QuickStart Guide -- the quick and easy way! This …
book
Head First HTML with CSS & XHTML
Tired of reading HTML books that only make sense after you're an expert? Then it's about …