Skip to main content

HTML, XHTML, and CSS Bible, 5th Edition

HTML, XHTML, and CSS Bible, 5th Edition

Steven M. Schafer

ISBN: 978-1-118-08130-3

Mar 2011

792 pages

Select type: E-Book



An essential update to the key web authoring standards of HTML, XHTML, and CSS

The existence of Web pages depends on three vital technologies: HTML (base language that Web pages are written in), XHTML (standards that define how to write HTML pages), and CSS (standard that applies formatting styles to Web pages). This new edition provides you with critical coverage of these three Web authoring standards, and places special focus on the upcoming releases of HTML 5 and CSS 3.

Serving as a tutorial and reference, this comprehensive resource explains the basic structure and necessary formatting to create a static (non-changing) and dynamic (changing) page on the Internet.

  • HTML, XHTML, and CSS are the three major Web authoring standards for creating either a static or dynamic Web page
  • Guides you through using HTML to create Web documents and introduces updates to HTML 5
  • Demonstrates best practices for using tools and utilities to create Web documents
  • Includes coverage of the new CSS 3 and tips and tricks for maximizing its abilities

Helpful examples round out this essential guide and will get you up and running with HTML, XHMTL, and CSS in no time!

Introduction xxxix

Part I: Creating Content with HTML 1

Chapter 1: What Is a Markup Language? 3

Chapter 2: HTML Values and Units 9

Chapter 3: What Goes into a Web Document? 17

Chapter 4: The HEAD Elements 41

Chapter 5: Text Structuring Essentials 49

Chapter 6: Character Formatting Essentials 61

Chapter 7: Lists 71

Chapter 8: Links 87

Chapter 9: Tables 101

Chapter 10: Frames 143

Chapter 11: Forms 159

Chapter 12: Colors and Images 185

Chapter 13: Multimedia 213

Chapter 14: Special Characters 231

Chapter 15: Internationalization and Localization 247

Chapter 16: Scripts 261

Chapter 17: Dynamic HTML 271

Chapter 18: The Future of HTML: HTML5 297

Part II: HTML Tools and Variants 307

Chapter 19: Web Development Software 309

Chapter 20: Publishing Your Site 321

Chapter 21: An Introduction To XML 329

Chapter 22: Creating Mobile Documents 349

Chapter 23: Tidying and Validating Your Documents 359

Chapter 24: HTML Tips and Tricks 371

Part III: Controlling Presentation with CSS 395

Chapter 25: CSS Basics 397

Chapter 26: Style Definitions 405

Chapter 27: CSS Values and Units 421

Chapter 28: CSS Inheritance and Cascade 431

Chapter 29: Font Properties 437

Chapter 30: Text Formatting 445

Chapter 31: CSS Lists 471

Chapter 32: Padding, Margins, and Borders 479

Chapter 33: Colors and Backgrounds 491

Chapter 34: CSS Layouts 503

Chapter 35: Pseudo-Elements and Generated Content 525

Chapter 36: Dynamic HTML with CSS 539

Chapter 37: Media Styles and Defining Documents for Printing 553

Chapter 38: The Future of CSS: CSS3 571

Part IV: Additional CSS Tools 579

Chapter 39: User Interface Styles 581

Chapter 40: Testing and Validating CSS 589

Chapter 41: CSS Tips and Tricks 595

Appendix A: XHTML Element Quick Reference 617

Appendix B: HTML Special Characters Quick Reference 667

Appendix C: CSS 2.1 Properties Quick Reference 679

Appendix D: CSS 2.1 Selectors Quick Reference 705

Appendix E: Pseudo-Elements and Pseudo-Classes

Quick Reference 709

Index 711

Code Download