Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

624


browsers
audio formats supported, 444
backward compatibility, 30
built-in functions, 76–77
centering content in window, 193
comments and, 39–40
drag and drop operations, 507, 518
forward compatibility, 30
Geolocation API support, 540
HTML5 support, 206–207
JavaScript considerations, 101–102
nested context, 34
no-quirks mode, 40
special characters and, 41–42
storage mechanisms and, 559–561, 566–567,
590, 601, 608
triggering form submission, 319
User Data API, 557
validation errors, 325
video formats supported, 438
web communications, 312–314
WebSocket support, 416
working with elements, 32
working with styles, 139, 159
BSD (Berkeley Software Distribution) license, 438
built-in browser styles, 159
built-in functions, 76–77
<button> element
described, 33, 317
disabling, 36
triggering form submission, 320
type attribute, 317

C
cache (HTTP). See HTTP cache
CACHE MANIFEST statement, 609
cached event, 610
calculating distances, 548–549

Live DOM panel, 14–15, 19
practice exercises, 24–25
Projects panel, 14–17
Style Rules panel, 14–15, 18–19
Tools panel, 14–15
<blockquote> element
annotating content, 215
cite attribute, 215
described, 33, 215
blur event, 117–118
<body> element
basic document structure, 40–41
described, 9, 33
<object> tag and, 51
working with events, 117
Boolean attributes
described, 35–36, 321, 325
minimized form, 36
quoted form, 36
Boolean object, 67
Boolean primitive type
described, 67, 70
logical operators, 70–71
short-circuit evaluation, 71
border properties (CSS), 176–178
box model (CSS)
border properties, 176–178
described, 175–176
margin properties, 176–178
padding properties, 176–178
box-sizing property (CSS), 190–192
<br> element
annotating content, 217
described, 33, 217
self-closing tags and, 37–38
as void element, 38, 217
breakpoints
setting in JavaScript, 103–104
setting in jQuery, 289

<blockquote> element
Free download pdf