This beginning guide reviews HTML and also introduces you to using XHTML for the structure of a web page and cascading style sheets (CSS) for controlling how a document should appear on a web page. You?ll learn how to take advantage of the latest features of browsers while making sure that your pages still work in older, but popular, browsers. By incorporating usability and accessibility, you?ll be able to write professional-looking and well-coded web pages that use the latest technologies.
Table of Contents:
Introduction xxiii
Chapter 1: Creating Structured Documents 1
A Web of Structured Documents 1
Introducing XHTML 2
Core Elements and Attributes 9
Attribute Groups 12
Basic Text Formatting 16
Presentational Elements 26
Phrase Elements 29
Lists 36
Editing Text 45
Using Character Entities for Special Characters 47
Comments 47
The Element (deprecated) 48
Understanding Block and Inline Elements 48
Grouping Elements with
and 49 Summary 50
Exercises 51
Chapter 2: Links and Navigation 53
Basic Links 54
Understanding Directories and Directory Structures 57
Creating Links with the Element 65
Advanced E-mail Links 74
Summary 75
Exercises 76
Chapter 3: Images and Objects 77
Adding Images to Your Site 77
Adding Other Objects with the
Using Images as Links 99
Image Maps 100
Summary 105
Exercises 106
Chapter 4: Tables 109
Introducing Tables 109
Basic Table Elements and Attributes 112
Advanced Tables 125
Accessibility Issues with Tables 132
Summary 136
Exercises 136
Chapter 5: Forms 139
Introducing Forms 140
Creating a Form with the
Element 141 Form Controls 145
Creating Labels for Controls and the Element 169
Structuring Your Forms with
and Elements 171 Focus 173
Disabled and Read-Only Controls 176
Sending Form Data to the Server 178
Summary 183
Exercises 183
Chapter 6: Frames 185
Introducing the Frameset 185
When to Use Frames 188
The
The
The
Creating Links Between Frames 198
Nested Framesets 200
Floating or Inline Frames with