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 88 The Element 89 Marking Changes: and <del> Using Lists on Your Web Page 91 Ordered and Unordered Lists 92 Definition Lists 94 96
115
How Hyperlinks Work 115 The Uniform Resource Locator Relative Versus Absolute URLs
Organize the Page 77 Add Headings 78 Horizontal Lines 79
Summary
111
113
7 Building Hypertext Links
II Design and Conquer
Styling Your Text 80 Physical Style Elements Logical Style Elements
101
The Element 108 Alternative Text 109 Aligning Text and Images 110 Right- and Left-Aligning Images Width and Height 112
74
5 Formatting Your Text
97
90
Cool Tricks: Targets and Client-Pull Open a New Window 128 Changing Pages Automatically Summary
130
128 129
CONTENTS
8 Table Basics
131
Creating a Table 131 TheElement 132 Captions and Summaries 134 Table Rows 135 Table Cell Elements 136 Changing a Cell’s Span 138 Cell and Row Colors 139 Additional Table Attributes 140 The width Attribute 140 The border and align Attributes 141 The cellpadding and cellspacing Attributes 143 Summary
144
9 Advanced Table Elements and Table Design 145 Table Design Theory 146 Using Images in Tables 148 Nesting Tables 149 Grouping Columns and Rows 155 Table Row Groupings 155 Column Groupings 157 Frames and Rules
162
Table Design Examples 164 A Row-Centric Table 164 Focusing on Columns 168 Summary
173
10 Get Splashy: Style Sheets, Fonts, and Special Characters 175 Style Sheets in Theory 176 What Are Style Sheets? 176 Why Use Style Sheets? 177 Understanding CSS and XHTML 178 What Style Sheets Replace 179
vii
Creating Style Sheets 180 The style Attribute 181 The <style> Element 181 Creating Special Classes 183 Using the <span> Element 184 Using theElement 186 Linking Versus Embedding 188 Properties and Styles 189 Text Styles 189 Font Properties 190 Background and Color Properties 192 Alignment and Block Appearance Properties 193 Styles for Links and Objects 196 First Letter and First Line 197 Special Table Styles 197 Special Characters Summary
200
201
11 Advanced Web Images and Imagemaps 203 Making Your Images Better 204 Optimizing Web Images 204 Image Compression and Progressive Encoding 206 Image Transparency 207 Creating Animated Images 209 Jasc Animation Shop 210 VSE Animation Maker 211 Using Imagemaps 211 Creating a Client-Side Imagemap 212 Adding usemap to 212 The <map> and <area> Elements 213 Working with Server-Side Maps 216 Summary
216
viii
ABSOLUTE BEGINNER’S GUIDE TO CREATING WEB PAGES, SECOND EDITION
III Building Your Site 12 Creating Sites with HTML Frames
219
The Great Frames Debate 220 What Frames Are 220 What’s Wrong with Frames? 221 When Should You Use Frames? 222
Working with Java 254 Java Applets 255 Add Applets Using