Cover image for HTML and XHTML Pocket Reference, 3rd Edition

Book description

After years of using spacer GIFs, layers of nested tables, and other improvised solutions for building your web sites, getting used to the more stringent "standards-compliant" design that is de rigueur among professionals today can be intimidating.

With standards-driven design, keeping style separate from content is not just a possibility but a reality. You no longer use HTML and XHTML as design tools, but strictly as ways to define the meaning and structure of web content. And Cascading Style Sheets (CSS) are no longer just something interesting to tinker with, but a reliable method for handling all matters of presentation, from fonts and colors to page layout. When you follow the standards, both the site's design and underlying code are much cleaner. But how do you keep all those HTML and XHTML tags and CSS values straight?

Jennifer Niederst-Robbins, the author of our definitive guide on standards-compliant design, Web Design in a Nutshell, offers you the perfect little guide when you need answers immediately: HTML and XHTML Pocket Reference. This revised and updated new edition takes the top 20% of vital reference information from her Nutshell book, augments it judiciously, cross-references everything, and organizes it according to the most common needs of web developers. The result is a handy book that offers the bare essentials on web standards in a small, concise format that you can use carry anywhere for quick reference. This guide will literally fit into your back pocket.

Inside HTML and XHTML Pocket Reference, you'll find instantly accessible alphabetical listings of every element and attribute in the HTML 4.01 and XHTML 1.0 Recommendations. This is an indispensable reference for any serious web designer, author, or programmer who needs a fast on-the-job resource when working with established web standards.

Table of Contents

  1. Copyright
  2. 1. HTML and XHTML Pocket Reference
    1. 1.1. HTML and XHTML Fundamentals
      1. 1.1.1. How XHTML Differs from HTML
      2. 1.1.2. Three Versions of (X)HTML
      3. 1.1.3. Minimal Document Structure
      4. 1.1.4. DOCTYPEs for Available DTDs
    2. 1.2. Alphabetical List of Elements
      1. 1.2.1. Common Attributes and Events
        1. 1.2.1.1. Core
        2. 1.2.1.2. Internationalization
        3. 1.2.1.3. Events
        4. 1.2.1.4. Focus
      2. 1.2.2. (X)HTML Elements
        1. a
        2. abbr
        3. acronym
        4. address
        5. applet
        6. area
        7. b
        8. base
        9. basefont
        10. bdo
        11. big
        12. blockquote
        13. body
        14. br
        15. button
        16. caption
        17. center
        18. cite
        19. code
        20. col
        21. colgroup
        22. dd
        23. del
        24. dfn
        25. dir
        26. div
        27. dl
        28. dt
        29. em
        30. embed
        31. fieldset
        32. font
        33. form
        34. frame
        35. frameset
        36. h1, h2, h3, h4, h5, h6
        37. head
        38. hr
        39. html
        40. i
        41. iframe
        42. img
        43. input
        44. ins
        45. isindex
        46. kbd
        47. label
        48. legend
        49. li
        50. link
        51. map
        52. menu
        53. meta
        54. noembed
        55. noframes
        56. noscript
        57. object
        58. ol
        59. optgroup
        60. option
        61. p
        62. param
        63. pre
        64. q
        65. s
        66. samp
        67. script
        68. select
        69. small
        70. span
        71. strike
        72. strong
        73. style
        74. sub
        75. sup
        76. table
        77. tbody
        78. td
        79. textarea
        80. tfoot
        81. th
        82. thead
        83. title
        84. tr
        85. tt
        86. u
        87. ul
        88. var
    3. 1.3. Character Entities
      1. 1.3.1. ASCII Character Set
      2. 1.3.2. Nonstandard Entities (‚-Ÿ)
      3. 1.3.3. Latin-1 (ISO-8859-1)
      4. 1.3.4. Latin Extended-A
      5. 1.3.5. Latin Extended-B
      6. 1.3.6. Spacing Modifier Letters
      7. 1.3.7. Greek
      8. 1.3.8. General Punctuation
      9. 1.3.9. Letter-like Symbols
      10. 1.3.10. Arrows
      11. 1.3.11. Mathematical Operators
      12. 1.3.12. Miscellaneous Technical Symbols
      13. 1.3.13. Geometric Shapes
      14. 1.3.14. Miscellaneous Symbols
    4. 1.4. Specifying Color
      1. 1.4.1. RGB Values
      2. 1.4.2. Standard Color Names