Book description
Decipher the code, use the right tools, and conquer the online world of the World Wide Web. This comprehensive guide demystifies HyperText Markup Language (HTML) and Cascading Style Sheets (CSS) so you can create sophisticated and interactive Web pages, robust applications, and as many other ways of interacting on the Web as you can think of. You'll even learn to code cool content for many mobile devices that include a browser. Inside, find all the tools, tips, and techniques you need to succeed.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Introduction
-
I. Creating Content with HTML
- 1. What Is a Markup Language and Why Do I Care?
- 2. HTML Values and Units
-
3. What Goes into a Web Document?
- 3.1. Specifying Document Type
- 3.2. The Overall Document Structure: HTML, Head, and Body
- 3.3. Styles Definitions
- 3.4. Block Elements: Markup for Paragraphs and Other Blocks of Content
- 3.5. Inline Elements: Markup for Characters
- 3.6. Special Characters (Entities)
- 3.7. Organizational Elements
- 3.8. Linking to Other Pages
- 3.9. Images
- 3.10. Comments
- 3.11. Scripts
- 3.12. Putting It All Together
- 3.13. Summary
- 4. The HEAD Elements
- 5. Text Structuring Essentials
- 6. Character Formatting Essentials
- 7. Lists
- 8. Links
- 9. Tables
- 10. Frames
-
11. Forms
- 11.1. Understanding Forms
- 11.2. Inserting a Form
- 11.3. Field Labels
- 11.4. Text Input Boxes
- 11.5. Password Input Boxes
- 11.6. Radio Buttons
- 11.7. Check Boxes
- 11.8. List Boxes
- 11.9. Large Text Input
- 11.10. Hidden Fields
- 11.11. Buttons
- 11.12. Images
- 11.13. File Fields
- 11.14. Submit and Reset Buttons
- 11.15. Tab Order and Keyboard Shortcuts
- 11.16. Preventing Changes
- 11.17. Fieldsets and Legends
- 11.18. Using Events with Forms
- 11.19. Form Scripts and Script Services
- 11.20. Summary
-
12. Colors and Images
- 12.1. Web Color Basics
- 12.2. Other Means to Specify Colors
- 12.3. The Evolution of Color on the Web
- 12.4. Using Proper Means to Specify Colors
- 12.5. Image Formats for the Web
- 12.6. Creating Graphics
- 12.7. Inserting an Image
- 12.8. Image Alignment
- 12.9. Specifying Text to Display for Nongraphical Browsers
- 12.10. Sizing an Image
- 12.11. Image Borders
- 12.12. Image Maps
- 12.13. Animated Images
- 12.14. Summary
- 13. Multimedia
-
14. Special Characters
- 14.1. Understanding Character Encodings
- 14.2. Special Characters
- 14.3. En and Em Spaces and Dashes
- 14.4. Copyright and Trademark Symbols
- 14.5. Currency Symbols
- 14.6. "Real" Quotation Marks
- 14.7. Arrows
- 14.8. Accented Characters
- 14.9. Greek and Mathematical Characters
- 14.10. Other Useful Entities
- 14.11. Summary
- 15. Internationalization and Localization
- 16. Scripts
-
17. Dynamic HTML
- 17.1. The Need for DHTML
- 17.2. How DHTML Works
- 17.3. The Document Object Model
- 17.4. The JavaScript Document Object Model
- 17.5. Accessing an Element by Its ID
- 17.6. Using Event Handlers
- 17.7. Cross-Browser Compatibility Issues
- 17.8. DHTML Examples
- 17.9. Summary
-
II. HTML Tools and Variants
- 18. Web Development Software
- 19. Publishing Your Site
- 20. Data Connectivity with Microformats
- 21. An Introduction To XML
- 22. Creating Mobile Web Pages
- 23. Tidying and Validating your Documents
- 24. HTML Tips and Tricks
-
III. Controlling Presentation with CSS
- 25. CSS Basics
-
26. Style Definitions
- 26.1. The Style Definition Format
- 26.2. Understanding Selectors
- 26.3. Understanding Style Inheritance
- 26.4. Using Pseudo-Classes
- 26.5. Pseudo-Elements
- 26.6. Shorthand Expressions
- 26.7. Summary
- 27. CSS Values and Units
- 28. CSS Inheritance and Cascade
- 29. Font Properties
-
30. Text Formatting
- 30.1. Aligning Text
- 30.2. Indenting Text
- 30.3. Controlling White Space Within Text
- 30.4. Controlling Letter and Word Spacing
- 30.5. Specifying Capitalization
- 30.6. Using Text Decorations
- 30.7. Autogenerated Text
- 30.8. Using CSS Table Properties
- 30.9. Controlling Table Attributes
- 30.10. Table Layout
- 30.11. Aligning and Positioning Captions
- 30.12. Summary
- 31. CSS Lists
- 32. Padding, Margins, and Borders
- 33. Colors and Backgrounds
- 34. CSS Layouts with Floating and Positioning
- 35. Pseudo-Elements and Generated Content
- 36. Dynamic HTML with CSS
-
37. Media Styles and Defining Documents for Printing
- 37.1. Understanding CSS Media Types
- 37.2. Setting Up Documents for Printing
- 37.3. Creating a Multimedia Document
- 37.4. Summary
- IV. Additional CSS Tools
-
A. HTML Element Quick Reference
-
A.1. Element Listings
- A.1.1. <a>
- A.1.2. <abbr>
- A.1.3. <acronym>
- A.1.4. <address>
- A.1.5. Infrequently used.<area>
- A.1.6. <b>
- A.1.7. <base>
- A.1.8. <bdo>
- A.1.9. <big>
- A.1.10. <blockquote>
- A.1.11. <body>
- A.1.12. <br>
- A.1.13. <button>
- A.1.14. <caption>
- A.1.15. <cite>
- A.1.16. <code>
- A.1.17. <col>
- A.1.18. <colgroup>
- A.1.19. <dd>
- A.1.20. <del>
- A.1.21. <dfn>
- A.1.22. <div>
- A.1.23. <dl>
- A.1.24. <dt>
- A.1.25. <em>
- A.1.26. <fieldset>
- A.1.27. <form>
- A.1.28. <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
- A.1.29. <head>
- A.1.30. <hr>
- A.1.31. <html>
- A.1.32. <i>
- A.1.33. <img>
- A.1.34. <input>
- A.1.35. <ins>
- A.1.36. <kbd>
- A.1.37. <label>
- A.1.38. <legend>
- A.1.39. <li>
- A.1.40. <link>
- A.1.41. <map>
- A.1.42. <meta>
- A.1.43. <noscript>
- A.1.44. <object>
- A.1.45. <ol>
- A.1.46. <optgroup>
- A.1.47. <option>
- A.1.48. <p>
- A.1.49. <param>
- A.1.50. <pre>
- A.1.51. <q>
- A.1.52. <samp>
- A.1.53. <script>
- A.1.54. <select>
- A.1.55. <small>
- A.1.56. <span>
- A.1.57. <strong>
- A.1.58. <style>
- A.1.59. <sub>
- A.1.60. <sup>
- A.1.61. <table>
- A.1.62. <tbody>
- A.1.63. <td>
- A.1.64. <textarea>
- A.1.65. <tfoot>
- A.1.66. <th>
- A.1.67. <thead>
- A.1.68. <title>
- A.1.69. <tr>
- A.1.70. <tt>
- A.1.71. <ul>
- A.1.72. <var>
- A.2. Event Attributes
- A.3. Other Common Attributes
-
A.1. Element Listings
- B. HTML Special Characters Quick Reference
-
C. CSS Properties Quick Reference
-
C.1. Property Listings
- C.1.1. Background
- C.1.2. List
- C.1.3. Generated content
- C.1.4. Font and text
- C.1.5. Text direction
-
C.1.6. Block
- C.1.6.1. margin-left, margin-right, margin-top, margin-bottom
- C.1.6.2. margin
- C.1.6.3. padding-left, padding-right, padding-top, padding-bottom
- C.1.6.4. padding
- C.1.6.5. clip
- C.1.6.6. overflow
- C.1.6.7. height, width
- C.1.6.8. max-height, max-width
- C.1.6.9. min-height, min-width
- C.1.6.10. line-height
- C.1.6.11. vertical-align
- C.1.7. Positioning
-
C.1.8. Borders
- C.1.8.1. border-color, border-top-color, border-bottom-color, border-left-color, border-right-color
- C.1.8.2. border-style, border-top-style, border-bottom-style, border-left-style, border-right-style
- C.1.8.3. border-width, border-top-width, border-bottom-width, border-left-width, border-right-width
- C.1.8.4. border
- C.1.8.5. outline-color
- C.1.8.6. outline-style
- C.1.8.7. outline-width
- C.1.8.8. outline
- C.1.9. Table
- C.1.10. Printing
- C.1.11. Miscellaneous
-
C.1. Property Listings
- D. CSS Selectors Quick Reference
- E. Pseudo-Elements and Pseudo-Classes Quick Reference
Product information
- Title: HTML, XHTML, and CSS Bible, Fourth Edition
- Author(s):
- Release date: March 2008
- Publisher(s): Wiley
- ISBN: 9780470128619
You might also like
book
HTML, XHTML, and CSS Bible, Fifth Edition
An essential update to the key web authoring standards of HTML, XHTML, and CSS The existence …
book
HTML and XHTML Step by Step
The smart way to learn HTML and XHTML—and begin creating Web pages—one step at a time! …
book
Beginning CSS: Cascading Style Sheets for Web Design, Second Edition
Cascading style sheets (CSS) are the modern standard for website presentation. When combined with a structural …
book
Beginning HTML, XHTML, CSS, and JavaScript®
An indispensable introductory guide to creating web pages using the most up-to-date standards This beginner guide …