This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Element 86 The Element 88 Marking Changes: and <del> 89 Using Lists on Your Web Page 90 Ordered and Unordered Lists 90 Definition Lists 93 Summary 94
Element 117
Creating Links 118 Linking on the Same Page 119 Building Links Using Images 121 Using Special Links 122 Creating a mailto: Link 122 Creating a Link to an FTP site 123 Gopher Servers 124 Link to Newsgroups 125 Links to Telnet Servers 125 Cool Tricks: Targets and Client-Pull 126 Open a New Window 126 Changing Pages Automatically 127 Summary 128
CONTENTS
8 Basics Tables 129 Creating a Table 130 TheElement 130 Captions and Summaries 132 Table Rows 133 Table Cell Elements 134 Changing a Cell’s Span 136 Cell and Row Colors 136 Additional Table Attributes 138 The width Attribute 139 The border and align Attributes 140 The cellpadding and cellspacing Attributes 141 Summary 142 9 Advanced Table Elements and Table Design 143 Table Design Theory 144 Using Images in Tables 146 Nesting Tables 148 Grouping Columns and Rows 152 Table Row Groupings 153 Column Groupings 155 Frames and Rules 160 Table Design Examples 161 A Row-Centric Table 162 Focusing on Columns 165 Summary 170 10 Get Splashy: Style Sheets, Fonts, and Special Characters 171 Style Sheets in Theory 172 What Are Style Sheets? 172 Why Use Style Sheets? 173 Understanding CSS and XHTML 174 What Style Sheets Replace 175
vii
Creating Style Sheets 176 The style Attribute 176 The <style> Element 177 Creating Special Classes 179 Using the <span> Element 180 Using theElement 182 Linking Versus Embedding 183 Properties and Styles 185 Text Styles 185 Font Properties 186 Background and Color Properties 188 Alignment and Block Appearance Properties 189 Styles for Links and Objects 192 First Letter and First Line 193 Special Table Styles 193 Special Characters 195 Summary 197 11 Advanced Web Images and Imagemaps 199 Making Your Images Better 200 Optimizing Web Images 200 Image Compression and Progressive Encoding 202 Image Transparency 203 Creating Animated Images 205 Jasc Animation Shop 206 VSE Animation Maker 207 Using Imagemaps 207 Creating a Client-Side Imagemap 208 Adding usemap to 208 The <map> and <area> Elements 209 Working with Server-Side Maps 211 Summary 212
viii
ABSOLUTE BEGINNER’S GUIDE TO CREATING WEB PAGES
III Building Your Site
14 Site-Wide Styles: Design, Accessibility, and Internationalization 251
12 Creating Sites with HTML Frames 215 The Great Frames Debate 216 What Frames Are 216 What’s Wrong with Frames? 217 When Should You Use Frames? 218
The Site-Wide Style Sheet 252 The Basic Site 252 Planning the Styles 254 Style Sheet Power 257 Accessibility Through Style Sheets 259
Adding Frames to Your Site 219 Creating the Frameset 219 and <noframes> 220 Naming and Targeting Frames 222 Options for 224 Nesting Framesets 224 Advanced Frames 226 Special Targets and Removing Frames 226 Offering Options to Users 227 The <iframe> Element 229 Summary 230 13 Adding Multimedia and Java Content 231 Understanding Multimedia 232 Why Include Multimedia? 233 Understanding Multimedia File Types 233 Linking Versus Embedding 235 Adding Multimedia to Your Pages 237 Adding Hyperlinks 237 Embedding Multimedia 240 Embedding QuickTime 241 Windows Media Movies 244 RealMedia Movies 246 Flash Controls and Movies 247 Working with Java 248 Java Applets 248 Add Applets Using