HTML & XHTML: the Definitive Guide, 4Th Edition

HTML & XHTML: the Definitive Guide, 4Th Edition

HTML & XHTML: The Definitive Guide 4th edition Chuck Musciano & Bill Kennedy Fourth Edition August 2000 ISBN: 0-596-00026-X, 677 pages This complete guide is full of examples, sample code, and practical hands-on advice for creating truly effective web pages and mastering advanced features. Web authors learn how to insert images, create useful links and searchable documents, use Netscape extensions, design great forms, and much more. The fourth edition covers XHTML 1.0, HTML 4.01, Netscape 6.0, and Internet Explorer 6.0, plus all the common extensions. Table of Contents Preface 1 1. HTML, XHTML, and the World Wide Web 6 1.1. The Internet, Intranets,and Extranets 1.2. Talking the Internet Talk 1.3. HTML: What It Is 1.4. XHTML: What It Is 1.5. HTML and XHTML: What They Aren't 1.6. Nonstandard Extensions 1.7. Tools for the Web Designer 2. Quick Start 14 2.1. Writing Tools 2.2. A First HTML Document 2.3. Embedded Tags 2.4. HTML Skeleton 2.5. The Flesh on an HTML or XHTML Document 2.6. Text 2.7. Hyperlinks 2.8. Images Are Special 2.9. Lists, Searchable Documents, and Forms 2.10. Tables 2.11. Frames 2.12. Style Sheets and JavaScript 2.13. Forging Ahead 3. Anatomy of an HTML Document 27 3.1. Appearances Can Deceive 3.2. Structure of an HTML Document 3.3. Tags and Attributes 3.4. Well-Formed Documents and XHTML 3.5. Document Content 3.6. HTML Document Elements 3.7. The Document Header 3.8. The Document Body 3.9. Editorial Markup 3.10. The <bdo> Tag 4. Text Basics 42 4.1. Divisions and Paragraphs 4.2. Headings 4.3. Changing Text Appearance 4.4. Content-Based Style Tags 4.5. Physical Style Tags 4.6. HTML's Expanded Font Handling 4.7. Precise Spacing and Layout 4.8. Block Quotes 4.9. Addresses 4.10. Special Character Encoding 5. Rules, Images, and Multimedia 82 5.1. Horizontal Rules 5.2. Inserting Images in Your Documents 5.3. Document Colors and Background Images 5.4. Background Audio 5.5. Animated Text 5.6. Other Multimedia Content Table of Contents (cont...) 6. Links and Webs 116 6.1. Hypertext Basics 6.2. Referencing Documents: The URL 6.3. Creating Hyperlinks 6.4. Creating Effective Links 6.5. Mouse-Sensitive Images 6.6. Creating Searchable Documents 6.7. Relationships 6.8. Supporting Document Automation 7. Formatted Lists 152 7.1. Unordered Lists 7.2. Ordered Lists 7.3. The <li> Tag 7.4. Nesting Lists 7.5. Definition Lists 7.6. Appropriate List Usage 7.7. Directory Lists 7.8. Menu Lists 8. Cascading Style Sheets 168 8.1. The Elements of Styles 8.2. Style Syntax 8.3. Style Classes 8.4. Style Properties 8.5. Tag-less Styles: The <span> Tag 8.6. Applying Styles to Documents 9. Forms 201 9.1. Form Fundamentals 9.2. The <form> Tag 9.3. A Simple Form Example 9.4. Using Email to Collect Form Data 9.5. The <input> Tag 9.6. The <button> Tag 9.7. Multiline Text Areas 9.8. Multiple Choice Elements 9.9. General Form Control Attributes 9.10. Labeling and Grouping Form Elements 9.11. Creating Effective Forms 9.12. Forms Programming 10. Tables 236 10.1. The Standard Table Model 10.2. Table Tags 10.3. Newest Table Tags 10.4. Beyond Ordinary Tables 11. Frames 261 11.1. An Overview of Frames 11.2. Frame Tags 11.3. Frame Layout 11.4. Frame Contents 11.5. The <noframes> Tag 11.6. Inline Frames 11.7. Named Frame or Window Targets Table of Contents (cont...) 12. Executable Content 276 12.1. Applets and Objects 12.2. Embedded Content 12.3. JavaScript 12.4. JavaScript Style Sheets 13. Dynamic Documents 300 13.1. An Overview of Dynamiic Documents 13.2. Client-Pull Documents 13.3. Server -Push Documents 14. Netscape Layout Extensions 306 14.1. Creating Whitespace 14.2. Multicolumn Layout 14.3. Layers 15. XML 322 15.1. Languages and Metalanguages 15.2. Documents and DTDs 15.3. Understanding XML DTDs 15.4. Element Grammar 15.5. Element Attributes 15.6. Conditional Sections 15.7. Building an XML DTD 15.8. Using XML 16. XHTML 334 16.1. Why XHTML? 16.2. Creating XHTML Documents 16.3. HTML Versus XHTML 16.4. Should You Use XHTML? 17. Tips, Tricks, and Hacks 343 17.1. Top of the Tips 17.2. Trivial or Abusive? 17.3. Custom Bullets 17.4. Tricks with Tables 17.5. Transparent Images 17.6. Tricks with Windows and Frames A. HTML Grammar 354 B. HTML/XHTML Tag Quick Reference 369 Core Attributes C. Cascading Style Sheet Properties Quick Reference 404 D. The HTML 4.01 DTD 409 E. The XHTML 1.0 DTD 420 F. Character Entities 432 G. Color Names and Values 439 Colophon 442 Article - XHTML: Bridging HTML & XML 443 Description HTML is changing so fast it's almost impossible to keep up with developments. XHTML is HTML 4.0 rewritten in XML; it provides the precision of XML while retaining the flexibility of HTML. HTML & XHTML: The Definitive Guide, 4th Edition, brings it all together. It's the most comprehensive book available on HTML and XHTML today. It covers Netscape Navigator 6.0, Internet Explorer 5.0, HTML 4.01, XHTML 1.0, JavaScript, Style sheets, Layers, and all of the features supported by the popular web browsers. Learning HTML and XHTML is like learning any new language, computer or human. Most students first immerse themselves in examples. Studying others is a natural way to learn, making learning easy and fun. Imitation can take learning only so far, though. 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. HTML & XHTML: The Definitive Guide, 4th Edition, helps in both ways: the authors cover every element of HTML/XHTML in detail, explaining how each element works and how it interacts with other elements. Many hints about HTML/XHTML style smooth the way for writing documents that range from simple online documentation to complex presentations. With hundreds of examples, the book gives web authors models for writing their own effective web pages and for mastering advanced features, like style sheets and frames. HTML & XHTML: The Definitive Guide, 4th Edition, shows how to: • Implement the XHTML 1.0 standard and prepare web pages for the transition to XML browsers • Use style sheets and layers to control a document's appearance • 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 • Use new features to support multiple languages HTML & XHTML: The Definitive Guide Preface Learning Hypertext Markup Language (HTML) and Extensible Hypertext Markup Language (XHTML) is like learning any new language, computer or human. Most students first immerse themselves in examples. Studying others is a natural way to learn, making learning easy and fun. Our advice to anyone wanting to learn HTML and XHTML is to get out there on the World Wide Web with a suitable browser and see for yourself what looks good, what's effective, what works for you. Examine others' documents and ponder the possibilities. Mimicry is how many of the current webmasters have learned the language. Imitation can take you only so far, though. Examples can be both good and bad. Learning by example will help you talk the talk, but not walk the walk. To become truly conversant, you must learn how to use the language appropriately in many different situations. You could learn all that by example, if you live long enough. Remember, too, that computer-based languages are more explicit than human languages. You've got to get the language syntax correct or it won't work. Then, too, there is the problem of "standards." Committees of academics and industry experts define the proper syntax and usage of a computer language like HTML. The problem is that browser manufacturers like Netscape Communications Corporation (now an America Online company) and Microsoft Corporation choose the parts of the standard they will use and which parts they will ignore. They even make up their own parts, which may eventually become standards. Standards change, too. As we write this current edition, HTML is undergoing a conversion into XHTML, making it an application of the Extensible Markup Language (XML). HTML and XHTML are so similar that we often refer to them as a single language. But there are key differences; more about this later in the preface. To be safe, the way to become fluent in HTML and XHTML is through a comprehensive, up-to-date language reference that covers the language syntax, semantics, and variations in detail to help you distinguish between good and bad usage. There's one more step leading to fluency in a language. To become a true master of the language, you need to develop your own style. That means knowing not only what is appropriate, but what is effective. Layout matters. A lot. So does the order of presentation within a document, between documents, and between document collections. Our goal in writing this book is to help you become fluent in HTML and XHTML, fully versed in their syntax, semantics, and elements of style.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    449 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us