Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

626


<code> element, 33, 216–217
code blocks, 74
code loops
breaking out of, 86–87
described, 84
do loop, 85
for loop, 85–86
while loop, 84–85
<col> element
described, 33
styling columns, 241–242
as void element, 38
<colgroup> element, 33, 241–242
colon (:), 150, 327
<color> value type, 138
color names table, 167–171
color selector, 4
colors. See CSS colors
cols attribute (<textarea> element), 316
colspan attribute
<td> element, 238–240
<th> element, 238–240
<command> element, 33, 38
comments
adding, 39
adding conditional, 40
adding within style sheets, 139
in manifest file, 609
TODO, 7
CommonJS, 394
communications
asynchronous, 393–414
web, 312–316
WebSocket, 415–436
complementary class, 212
complex objects, storing, 562
condensed arrays, 109
conditional comments, 40
conditional programming
if/else keywords, 80–81

Cascading Style Sheets. See CSS (Cascading Style
Sheets)
cascading styles, 160–161
case sensitivity
for tags, 32
for variable names, 72
catch block, 87
chained if statements, 81
change event, 118
character encoding, style sheets and, 143
@charset rule, 41, 143
checked Boolean attribute, 36
:checked pseudo class, 149
checking event, 610
child classes, 262
child selectors, 148
Chinese characters, 220–221
<circle> element
cx attribute, 498
cy attribute, 498
described, 498
fill attribute, 498
id attribute, 498
r attribute, 498
circles, drawing, 485–487, 498–499
citations and quotations, 215–216
<cite> element, 33, 215–216
cite attribute
<blockquote> element, 215
<q> element, 215
CJK languages, 220–221
class global attribute, 37
class selectors, 146–147
classes
creating, 266–271
described, 262
<clear> element, 189–190
clear property (CSS), 189–190
click event, 119
cm measurement unit, 175

Cascading Style Sheets
Free download pdf