CONTENTS
Cover
Title Page
Copyright
Acknowledgements
Contents
List of figures
List of tables
Introduction
01 How the web works: tools and languages of web design
What we will learn in this chapter
The key principles on which the World Wide Web functions
The tools and languages of web design
Tools
Languages of web design
What we have learned in this chapter
PART ONE
HTML
02 HTML Part 1
What we will learn in this chapter
HTML
Creating our website template
Text
Links
Images
Tables
Lists
What we have learned in this chapter
03 HTML Part 2
What you will learn in this chapter
Forms
Divs and spans
Element identifiers
Putting it all together: creating your first website
What we have learned in the HTML section: final code output
PART TWO
CSS
04 CSS Part 1
What we will learn in this chapter
How CSS works
How to construct CSS
Comments
Inserting CSS
Core concepts
Seeing it in action
Properties
Text
Links
What we have learned in this chapter
05 CSS Part 2
What we will learn in this chapter
Colour
The box model part 2
Borders, padding and margins
From ‘the box model’ to ‘our box model’
Floats
What we have learned in this chapter
06 CSS Part 3
What we will learn in this chapter
Positioning
Overlapping
Overflow
What we have learned in the CSS section
PART THREE
JavaScript
07 JavaScript Part 1
What we will learn in this chapter
Executing JavaScript
Syntax
Variables
Operators
Functions
Outputting information
Statements
Other best practices
Block comments
What we have learned in this chapter
08 JavaScript Part 2
What we will learn in this chapter
Data types
Strings
Objects
What we have learned in this chapter
09 JavaScript Part 3
Scope
Arrays
Loops
What we have learned in this chapter
10 JavaScript Part 4
What we will learn in this chapter
Boolean values
Comparisons
Conditional statements
Events
What we have learned in the JavaScript section
PART FOUR
Putting everything into practice
11 Creating the website
Setting things up
The homepage
Styling
HTML page
Forms
CSS page
JavaScript page
Conclusion
12 Getting your website online
Domains and hosting
Conclusion
Conclusion
Index
Backcover
List of Figures
Figure 1.1
Figure 2.1
Figure 2.2
Figure 4.1
Figure 4.2
Figure 4.3
Figure 4.4
Figure 4.5
Figure 5.1
Figure 5.2
Figure 5.3
Figure 5.4
Figure 5.5
Figure 5.6
Figure 5.7
Figure 5.8
Figure 5.9
Figure 5.10
Figure 5.11
Figure 5.12
Figure 5.13
Figure 5.14
Figure 5.15
Figure 5.16
Figure 5.17
Figure 5.18
Figure 5.19
Figure 5.20
Figure 5.21
Figure 5.22
Figure 5.23
Figure 5.24
Figure 5.25
Figure 5.26
Figure 5.27
Figure 5.28
Figure 5.29
Figure 5.30
Figure 5.31
Figure 6.1
Figure 6.2
Figure 6.3
Figure 6.4
Figure 6.5
Figure 8.1
Figure 11.1
Figure 11.2
Figure 12.1
Figure 12.2
Figure 12.3
Figure 12.4
List of Tables
Table 1.1
Tools and languages glossary
Table 2.1
HTML glossary
Table 2.2
Text glossary
Table 2.3
Image glossary
Table 3.1
Input types
Table 10.1
How different statements are analysed
List of Pages
i
ii
iii
iv
v
vi
vii
viii
ix
x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
Guide
Cover
Table of Contents
Start Reading