Вы находитесь на странице: 1из 8

Obsolete Attributes

<body>

alink, background, bgcolor, link, text, vlink

<br>

clear

<caption>

align

<col>

align, char, charoff, valign, width

<colgroup>

align, char, charoff, valign, width

<div>

align

<dl>

Compact

<head>

profile

<hn>

align

<hr>

align, noshade, size, width

<html>

version

<iframe>

align, frameborder, longdesc, marginheight,


marginwidth, scrolling

<img>

align, hspace, longdesc, name, vspace

<input>

align

<legend>

align

<li>

type

<link>

charset, rev, target

<menu>

compact

<meta>

scheme

<object>

align, archive, border, classid, codebase, codetype,


declare, space, standby, vspace, hspace

<ol>

compact

<p>

align

<param>

type, valuetype

<pre>

width

<table>

align, bgcolor, cellpadding, cellspacing, rules,


summary, width, frame

<tbody>

align, char, charoff, valign

601

continues

602

Appendix IChanges between HTML4 and HTML5

(continued)
Element

Attributes

<td>

abbr, align, axis, bgcolor char, charoff, height,


nowrap, scope, valign, width

<tfoot>

align char, charoff, valign

<th>

abbr, align, axis, bgcolor char, charoff, height,


nowrap, valign, width

<thead>

align, char, charoff, valign

<tfoot>

align, char, charoff, valign

<tr>

align, bgcolor, char, charoff, valign

<ul>

compact, type

At-Risk Elements
The following elements and attribute types are at risk of being removed from the specification:

<hgroup>

<command>

<menu>

<dialog>

<details>

<summary>

<input type=color>

<input type=datetime>

<input type=month>

<input type=week>

<input type=time>

<input type=datetime-local>

<output>

<style scoped>

<iframe seamless>

Index

Symbols
; (semi-colon)

CSS property-value pairs, 192


variable declarations, 350
-->, comments, 51
<--, comments, 51
"-", CSS properties, 394
$(), jQuery, 386
../, parent directory, 64
*/, styles sheets, 195
/*, styles sheets, 195
& (ampersand), character entities, 51, 565
<> (angled brackets), character entities,
51, 565
* (asterisk), CSS universal selector, 224
\ (backslash), JavaScript, 378
{} (curly brackets)
CSS properties, 192
if statements, 357
"" (double quotes)
character entities, 51, 565
content, 284287
<q>, 42
= (equals sign), subject, 74
> (greater than sign), CSS child
selectors, 225
# (hash sign), href, 67
+ (plus sign), string operators, 354

/ (slash)

comments, 344
filepath, 62
opening tags, 4
root directory, 65
subdirectory, 64
%0D%0A, email, 75
%20, email, 75

A
<a>, 67, 476
accesskey, 69
<cite>, 41
destination anchor, 6668
href, 56
hreflang, 69
IE, 85
images, 56
in-page links, 6574
jQuery Tabs, 432
links, 56
<nav>, 59
$().on(), 399
rel, 6970
source anchor, 6566
tabindex, 7071
target, 71
title, 71, 432, 442

603

<a> (continued) $.attr

<a> (continued)

alt

type, 71
white space, 57
<abbr>, 16, 4243, 476
accessibility checklist, 442
lang, 43
title, 42

images, 442
<img>, 81
<input>, 158
alt text, 81, 438
American Standard Code for Information
Interchange (ASCII), 561
anchors, 67, 65
:animated, 388
animated GIFs, 90
PNG, 92
Animated PNGs (APNG), 92
animations
CSS3, 334336, 546547
jQuery, 395397
animation-direction, 335
animation-duration, 334
animation-iteration-duration, 334
animation-name, 334
anonymous functions, 356357
answers to exercises, 447474
APNG. See Animated PNGs
$().append(), 390
Appendix, 70
application, 590594
application/x-www-form-urlencoded, 144
ar, 12
<area>, 477
arguments, 355
arithmetic operators, JavaScript, 351352
Armenian, 268
Array, 373375
<article>, 16, 28, 477
ASCII. See American Standard Code for
Information Interchange
<aside>, 29, 225, 477
aspect ratio, images, 82
assignment operators, JavaScript, 352
$.attr(), 389

absolute

CSS, 296298
position, 295
absolute units, CSS, 232233, 548
absolute URLs, 55, 6365
accept, 598
<input>, 168
MIME, 168
accept-charset, <form>, 144
accessibility
checklists, 441445
tables, 130131, 133135
accesskey, 598
<a>, 69
form control focus, 179181
accesskey = list_of_key_labels, 475

Accordion, jQuery UI, 425


action, 142, 143, 598
active, 258
:active, 282
addClass(), 384
$().addClass(), 391392
<address>, 16, 30, 438, 442, 476
adjacent sibling selectors, CSS, 226
class, 227228
:after, CSS pseudo-elements, 283284
Ajax, 142
jQuery, 407409
$.ajax(), 408
alert(), 377
all, 199
alpha, CSS3, 315, 317318
604

$().attr() baseline

$().attr(), 392

$().autocomplete(), 426

attr(x), 284
attributes

Autocomplete widget, jQuery UI, 426

$().attr(), 392
boolean, 8, 9
checked, 160
buttons, 157
checkbox, 161
core, 911
HTML, 475476
CSS, $().css(), 387
elements, 68
groups, 9
<body>, 16
HTML5, 8, 597602
<input>, 158
internationalization, 1112
opening tags, 8
<option>, 165
radio buttons, 162
<select>, 164
select boxes, 167168
selectors, CSS, 228230
tables, 118122
audio

cross browser audio, 104


MIME media type, 586588
<audio>, 477478
rich media, 9798
web pages, 99
Author, 70
auto
cursor, 288
overflow, 246
table-layout, 279
autocomplete
<form>, 145

privacy, 154155
security, 154155

autofocus
<input>, 157
<textarea>, 151
autoplay, 9798

B
<b>, 16, 41, 478
back(), 377
background, 248, 521

CSS, 266
backgrounds, CSS3, 319321
Background and Borders module, CSS3,
319321
background-attachment, 265266, 521
background-color, 195, 324, 467, 522
<body>, 260, 462, 463
CSS, 258, 260
tables, 271
transition-property, 335
background-image, 522
CSS, 261262
tables, 271
BackgroundNote, 224
background-position, 264265, 522523
background-positionX, 523
background-positionY, 523
background-repeat, 262264, 523
backgrounds
CSS, 521523
CSS3, 540541
backward compatibility, HTML5 tags, 1516
banding, colors, 88
bandwidth, 104
<base>, 478
URL, 65
baseline, 212
605

basic text formatting elements box model

basic text formatting elements, 1724


bcc, 75
<bdi>, 478
<bdo>, 478
:before, 283284
binary operators, 351
$().bind(), 400
bits, 553
bitmapped images, 85
block, 284
block-level elements, 2425, 50
CSS box model, 235
<blockquote>, 16, 2829, 478
cite, 29
blur(), 377
Body, 74
<body>, 3, 458, 479
attribute groups, 16
background-color, 260, 462, 463
browsers, 22
HTML5, 56
JavaScript, 343
jQuery, 385
SEO, 438
universal selector, 462
body content, 16
bold, 448
<b>, 41
boolean attributes, 8, 9
checked, 160
boolean operators, JavaScript, 353354
border, 523524
<caption>, 273
CSS
box model, 233, 236238
tables, 271
<table>, 273

606

borders
CSS, 523525
CSS3, 319321
border-bottom, 460
border-box, 246247
border-collapse, 274275, 535
border-color, 236, 524
border-radius, 319, 320, 467, 540
borders, CSS3, 540541
border-spacing, 275276, 535
border-style, 236237, 524525
border-top, 460
border-width, 238
both, 302
bottom, 531
box offset, 295
caption-side, 278
vertical-align, 213
box model, CSS, 233247
block-level elements, 235
border, 233, 236238
border-box, 246247
box-sizing, 246247
content box dimensions, 241247
height, 241243
IE, 246247
inline elements, 235
line-height, 243
margin, 233, 240241
max-height, 244245
max-width, 244
min-height, 244245
min-width, 244
overflow, 245246
padding, 233, 239240
white space, 233
width, 241243

box offset cascading style sheets

box offset, CSS, 295


box-shadow, 321, 540541
box-sizing, 246247
boxText, 248
<br>, 16, 2021, 479
braille, 199
break, 359, 362
browsers. See also specific browsers
<body>, 22
cross browser audio, 104
cross browser video, 103104
CSS selectors, 225, 230
CSS3 Media Queries, 325
Flash, 95, 100
HTML, 3
JavaScript console, 347348
PNG, 92
radio buttons, 163
URLs, 63
btn, 157
button, 156
<button>, 155, 480
creating buttons, 158159
jQuery Button widget, 426
buttons
attributes, 157
form controls, 140, 141142, 155159
images, 157158
<input>, 155157
name, 157
type, 157
value, 157
Button, jQuery UI, 426427
bytes, 553

C
callback functions, 412, 413
<canvas>, 480
capitalize, 216

<caption>, 481

accessibility checklist tables, 443


border, 273
font-weight, 273
screen readers, 123
<table>, 454
tables, 122123
text-align, 273
caption-side, 277278, 536
cascading style sheets (CSS), 191254.
See also CSS3
absolute, 296298
absolute units, 548
adding rules, 197201
adjacent sibling selectors, 226
class, 227228
attributes, $().css(), 387
attribute selectors, 228230
background, 266
background-attachment, 265-266
background-color, 258, 260
background-image, 261262
background-position, 264265
background-repeat, 262264
backgrounds, 521523
borders, 523525
box model, 233247
block-level elements, 235
border, 233, 236238
border-box, 246247
box-sizing, 246247
content box dimensions, 241247
height, 241243
IE, 246247
inline elements, 235
line-height, 243
margin, 233, 240241
max-height, 244245
max-width, 244
607

cascading style sheets (continued)

cascading style sheets (continued)


min-height, 244245
min-width, 244
overflow, 245246
padding, 233, 239240
white space, 233
width, 241243
box offset, 295
building sample layout, 303308
child selectors, 225226
class, 227228
class selector, 224225
clear, 302303
color, 211
colors, 521523
content, 284287
cursor, 288289
declarations, 192
descendant selectors, 226
dimensions, 525527
direction, 219220
display, 289290
em, 231232
<em>, 40
ex, 232
external style sheets, 197
first-letter, 220
first-line, 221
fixed, 298299
float, 300302
font, 203204
font-family, 204206
fonts, 515517
font-size, 206207
font-style, 209
font-variant, 209210
font-weight, 207208
general sibling selectors, 226

608

href, 199

HTML, 257309
id, 225
images, 81, 460
<img>, 85
@import, 291292
!important, 292293
inheritance, 197
internal style sheets, 197
internationalization, 538539
jQuery, 400403
lengths, 231233, 548549
letter-spacing, 217
<link>, 198199
links, 258259
lists, 267271, 529530
margins, 528
media, 199
monospaced font, 204
navigation, 459460
normal flow, 294
outlines, 280282, 534535
<p>, 204
padding, 528
percentages, 233
pixels, 231
position, 294295
positioning schemes, 293308
positions, 531534
properties, 201203, 288291, 515549
classifications, 537538
$().css(), 393394
pseudo-classes, 282
pseudo-elements, 283284
px, 231
rel, 199
relative, 295296
relative units, 231232, 549

Вам также может понравиться