index.html 79.3 KB
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 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en-US"><head>
  <title>HTML 5</title>

  <style type="text/css">
   dt, dfn { font-weight: bold; font-style: normal; }
   img.extra { float: right; }
   body ins, body del { display: block; }
   body * ins, body * del { display: inline; }
   pre, code { color: black; background: transparent; font-size: inherit; font-family: monospace; }
   pre strong { color: black; font: inherit; font-weight: bold; background: yellow; }
   pre em { font-weight: bolder; font-style: normal; }
   pre.idl :link, pre.idl :visited { color: inherit; background: transparent; }
   pre.idl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em; }
   table { border-collapse: collapse; border-style: hidden hidden none hidden; }
   table thead { border-bottom: solid; }
   table tbody th:first-child { border-left: solid; }
   table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; }
   ul.toc dfn, h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font: inherit; }
   ul.toc li ul { margin-bottom: 0.75em; }
   ul.toc li ul li ul { margin-bottom: 0.25em; }
   var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; }
   @media screen { code { color: rgb(255, 69, 0); background: transparent; } }
   code :link, code :visited { color: inherit; background: transparent; }
   .example { display: block; color: #222222; background: #FCFCFC; border-left: double; margin-left: 1em; padding-left: 1em; }
   .issue, .big-issue { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
   .issue > :first-child, .big-issue > :first-child { margin-top: 0; }
   p .big-issue { line-height: 3em; }
   .note { color: green; background: transparent; }
   .note { font-family: sans-serif; }
   p.note:before { content: 'Note: '; }
   .warning { color: red; background: transparent; }
   .warning:before { font-style: normal; }
   p.warning:before { content: '\26A0 Warning! '; }
   .note, .warning { font-weight: bolder; font-style: italic; padding: 0.5em 2em; }
   .copyright { margin: 0.25em 0; }
   img { max-width: 100%; }
   h4 + .element { margin-top: -2.5em; padding-top: 2em; }
   h4 + p + .element { margin-top: -5em; padding-top: 4em; }
   .element { background: #EEEEFF; color: black; margin: 0 0 1em -1em; padding: 0 1em 0.25em 0.75em; border-left: solid #9999FF 0.25em; }
   table.matrix, table.matrix td { border: none; text-align: right; }
   table.matrix { margin-left: 2em; }
  </style>
  <link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet" type="text/css">
  <!-- ZZZ -->

 <div class="head">
   <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>

   <h1 id="html-5">HTML 5</h1>

   <h2 class="no-num no-toc" id="a-vocabulary">A vocabulary and associated APIs
    for HTML and XHTML</h2>

   <h2 class="no-num no-toc" id="w3c-working">W3C Working Draft 10 June 2008</h2>

   <dl>

    <dt>This Version:

    <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
    <!-- :ZZZ -->

    <dt>Latest Published Version:

    <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>

    <dt>Latest Editor's Draft:

    <dd><a href="http://www.w3.org/html/wg/html5/">http://www.w3.org/html/wg/html5/</a></dd>
    <!-- ZZZ: -->

    <dt>Previous Versions:

    <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">http://www.w3.org/TR/2008/WD-html5-20080122/</a>
     <!-- :ZZZ -->

    <dt>Editors:

    <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.

    <dd>David Hyatt, Apple, Inc.
   </dl>

   <p>The content of this document is also available in the following
   non-normative formats:</p>

   <ul>
     <li>As a <a href="http://www.w3.org/TR/2008/WD-html5-20080610/single-page/">single HTML file</a>.</li>
     <li>As a <a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/">diff-marked version</a> showing changes made between 22 January 2008 and 10 June 2008.</li>
   </ul>
<!-- *  -->
   <!-- * <p>The content of this document is also available in the following -->
   <!-- * normative format:</p> -->
<!-- *  -->
   <!-- * <ul> -->
     <!-- * <li>As a <a -->
     <!-- * href="http://www.w3.org/TR/2008/WD-html5-20080610/" -->
     <!-- * >multipage HTML file</a></li> -->
   <!-- * </ul> -->
<!-- *  -->
   <!-- * <p>The content is also available in the following non-normative -->
   <!-- * format:</p> -->
   <!-- * <ul> -->
     <!-- * <li>As a <a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/" -->
      <!-- * >diff-marked version</a> showing changes made between 22 January 2008 and 10 June 2008</li> -->
   <!-- * </ul> -->

   <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &copy; 2008 <a href="http://www.w3.org/"><abbr title="World Wide Web
    Consortium">W3C</abbr></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of
    Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research Consortium for Informatics and
    Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
    <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
    and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document
    use</a> rules apply.</p>

  </div>

  <hr>

  <h2 class="no-num no-toc" id="abstract">Abstract</h2>

  <p>This specification defines the 5th major revision of the core language
   of the World Wide Web: the Hypertext Markup Language (HTML). In this
   version, new features are introduced to help Web application authors, new
   elements are introduced based on research into prevailing authoring
   practices, and special attention has been given to defining clear
   conformance criteria for user agents in an effort to improve
   interoperability.

  <h2 class="no-num no-toc" id="status">Status of this document</h2>
  <!-- intro boilerplate (required) -->

  <p><em>This section describes the status of this document at the time of
   its publication. Other documents may supersede this document. A list of
   current W3C publications and the most recently formally published revision
   of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at
   http://www.w3.org/TR/.</em></p>
  <!-- where to send feedback (required) -->

  <p>If you wish to make comments regarding this document, please send them
   to <a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>
   (<a href="mailto:public-html-comments-request@w3.org?subject=subscribe">subscribe</a>,
   <a href="http://lists.w3.org/Archives/Public/public-html-comments/">archives</a>).
   All feedback is welcome.</p>
  <!-- stability (required) -->

  <p>Implementors should be aware that this specification is not stable.
   <strong>Implementors who are not taking part in the discussions are likely
   to find the specification changing out from under them in incompatible
   ways.</strong> Vendors interested in implementing this specification
   before it eventually reaches the Candidate Recommendation stage should
   join the aforementioned mailing lists and take part in the discussions.</p>
  <!-- not everyone agrees with html5 (requested before fpwd) -->

  <p>The publication of this document by the W3C as a W3C Working Draft does
   not imply that all of the participants in the W3C HTML working group
   endorse the contents of the specification. Indeed, for any section of the
   specification, one can usually find many members of the working group or
   of the W3C as a whole who object strongly to the current text, the
   existence of the section at all, or the idea that the working group should
   even spend time discussing the concept of that section.</p>
  <!-- version history or list of changes (required) -->

  <p>The changes made to this draft specification after the 22
  January 2008 First Public Working Draft and this 10 June 2008
  Working Draft are recorded in the following documents:</p>

  <ul>
    <li>A non-normative <a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/">diff-marked version</a> of the specification.</li>
    <li>A non-normative <a href="http://www.w3.org/TR/2008/NOTE-html5-pubnotes-20080610/">HTML 5 Publication Notes</a> document that provides prose
      descriptions of the changes.</li>
  </ul>

  <p>The following document is also available; it describes the
  differences between HTML 5 and the previous major version of the
  language, HTML 4:</p>
  <ul>
    <li><a href="http://www.w3.org/TR/2008/WD-html5-diff-20080610/">HTML
    5 differences from HTML 4</a></li>
  </ul>

  <!-- status of document, group responsible (required) -->

  <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
   the W3C working group responsible for this specification's progress along
   the W3C Recommendation track. <!--ZZZ:--> This specification is the
   10 June 2008 Working Draft.</p>

  <!-- required patent boilerplate -->

  <p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
   2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/40318/status" rel="disclosure">public list of any patent disclosures</a> made in
   connection with the deliverables of the group; that page also includes
   instructions for disclosing a patent. An individual who has actual
   knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
   Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
   6 of the W3C Patent Policy</a>.

  <h3 class="no-num no-toc" id="stability0">Stability</h3>

  <p>Different parts of this specification are at different levels of
   maturity.

  </p><div id="stability"></div>

  <p class="big-issue">Some of the more major known issues are marked like
   this. There are many other issues that have been raised as well; the
   issues given in this document are not the only known issues! There are
   also some spec-wide issues that have not yet been addressed:
   case-sensitivity is a very poorly handled topic right now, and the firing
   of events needs to be unified (right now some bubble, some don't, they all
   use different text to fire events, etc). It would also be nice to unify
   the rules on downloading content when attributes change (e.g. <code title="">src</code> attributes) - should they initiate downloads when the
   element immediately, is inserted in the document, when active scripts end,
   etc. This matters e.g. if an attribute is set twice in a row (does it hit
   the network twice).

  <h2 class="no-num no-toc" id="contents">Table of contents</h2>
  <!--begin-toc-->

  <ul class="toc">
   <li><a href="introduction.html#introduction"><span class="secno">1. </span>Introduction</a>
    <ul class="toc">
     <li><a href="introduction.html#scope"><span class="secno">1.1 </span>Scope</a>
      <ul class="toc">
       <li><a href="introduction.html#relationship"><span class="secno">1.1.1
        </span>Relationship to HTML 4.01, XHTML 1.1, DOM2 HTML</a>

       <li><a href="introduction.html#relationship0"><span class="secno">1.1.2
        </span>Relationship to XHTML2</a>

       <li><a href="introduction.html#relationship1"><span class="secno">1.1.3
        </span>Relationship to XUL, Flash, Silverlight, and other proprietary
        UI languages</a>
      </ul>

     <li><a href="introduction.html#structure"><span class="secno">1.2 </span>Structure of this
      specification</a>
      <ul class="toc">
       <li><a href="introduction.html#how-to"><span class="secno">1.2.1 </span>How to read this
        specification</a>
      </ul>

     <li><a href="introduction.html#conformance"><span class="secno">1.3 </span>Conformance
      requirements</a>
      <ul class="toc">
       <li><a href="introduction.html#common"><span class="secno">1.3.1 </span>Common
        conformance requirements for APIs exposed to JavaScript</a>

       <li><a href="introduction.html#dependencies"><span class="secno">1.3.2
        </span>Dependencies</a>

       <li><a href="introduction.html#features"><span class="secno">1.3.3 </span>Features
        defined in other specifications</a>
      </ul>

     <li><a href="introduction.html#terminology"><span class="secno">1.4 </span>Terminology</a>
      <ul class="toc">
       <li><a href="introduction.html#html-vs"><span class="secno">1.4.1 </span>HTML vs
        XHTML</a>
      </ul>
    </ul>

   <li><a href="dom.html#dom"><span class="secno">2. </span>The Document Object
    Model</a>
    <ul class="toc">
     <li><a href="dom.html#documents"><span class="secno">2.1 </span>Documents</a>
      <ul class="toc">
       <li><a href="dom.html#security"><span class="secno">2.1.1 </span>Security</a>

       <li><a href="dom.html#resource"><span class="secno">2.1.2 </span>Resource
        metadata management</a>
      </ul>

     <li><a href="dom.html#elements"><span class="secno">2.2 </span>Elements</a>
      <ul class="toc">
       <li><a href="dom.html#reflecting"><span class="secno">2.2.1 </span>Reflecting
        content attributes in DOM attributes</a>
      </ul>

     <li><a href="dom.html#common0"><span class="secno">2.3 </span>Common DOM
      interfaces</a>
      <ul class="toc">
       <li><a href="dom.html#collections"><span class="secno">2.3.1
        </span>Collections</a>
        <ul class="toc">
         <li><a href="dom.html#htmlcollection"><span class="secno">2.3.1.1.
          </span>HTMLCollection</a>

         <li><a href="dom.html#htmlformcontrolscollection"><span class="secno">2.3.1.2.
          </span>HTMLFormControlsCollection</a>

         <li><a href="dom.html#htmloptionscollection"><span class="secno">2.3.1.3.
          </span>HTMLOptionsCollection</a>
        </ul>

       <li><a href="dom.html#domtokenlist"><span class="secno">2.3.2
        </span>DOMTokenList</a>

       <li><a href="dom.html#domstringmap"><span class="secno">2.3.3
        </span>DOMStringMap</a>

       <li><a href="dom.html#dom-feature"><span class="secno">2.3.4 </span>DOM feature
        strings</a>
      </ul>

     <li><a href="dom.html#dom-tree"><span class="secno">2.4 </span>DOM tree
      accessors</a>

     <li><a href="dom.html#dynamic"><span class="secno">2.5 </span>Dynamic markup
      insertion</a>
      <ul class="toc">
       <li><a href="dom.html#controlling"><span class="secno">2.5.1 </span>Controlling
        the input stream</a>

       <li><a href="dom.html#dynamic0"><span class="secno">2.5.2 </span>Dynamic markup
        insertion in HTML</a>

       <li><a href="dom.html#dynamic1"><span class="secno">2.5.3 </span>Dynamic markup
        insertion in XML</a>
      </ul>

     <li><a href="dom.html#apis-in"><span class="secno">2.6 </span>APIs in HTML
      documents</a>
    </ul>

   <li><a href="semantics.html#semantics"><span class="secno">3. </span>Semantics and
    structure of HTML elements</a>
    <ul class="toc">
     <li><a href="semantics.html#semantics-intro"><span class="secno">3.1
      </span>Introduction</a>

     <li><a href="semantics.html#common1"><span class="secno">3.2 </span>Common
      microsyntaxes</a>
      <ul class="toc">
       <li><a href="semantics.html#common2"><span class="secno">3.2.1 </span>Common parser
        idioms</a>

       <li><a href="semantics.html#boolean"><span class="secno">3.2.2 </span>Boolean
        attributes</a>

       <li><a href="semantics.html#numbers"><span class="secno">3.2.3 </span>Numbers</a>
        <ul class="toc">
         <li><a href="semantics.html#unsigned"><span class="secno">3.2.3.1. </span>Unsigned
          integers</a>

         <li><a href="semantics.html#signed"><span class="secno">3.2.3.2. </span>Signed
          integers</a>

         <li><a href="semantics.html#real-numbers"><span class="secno">3.2.3.3. </span>Real
          numbers</a>

         <li><a href="semantics.html#ratios"><span class="secno">3.2.3.4. </span>Ratios</a>

         <li><a href="semantics.html#percentages-and-dimensions"><span class="secno">3.2.3.5.
          </span>Percentages and dimensions</a>

         <li><a href="semantics.html#lists"><span class="secno">3.2.3.6. </span>Lists of
          integers</a>
        </ul>

       <li><a href="semantics.html#dates"><span class="secno">3.2.4 </span>Dates and
        times</a>
        <ul class="toc">
         <li><a href="semantics.html#specific"><span class="secno">3.2.4.1. </span>Specific
          moments in time</a>

         <li><a href="semantics.html#vaguer"><span class="secno">3.2.4.2. </span>Vaguer
          moments in time</a>
        </ul>

       <li><a href="semantics.html#time-offsets"><span class="secno">3.2.5 </span>Time
        offsets</a>

       <li><a href="semantics.html#tokens"><span class="secno">3.2.6 </span>Tokens</a>

       <li><a href="semantics.html#keywords"><span class="secno">3.2.7 </span>Keywords and
        enumerated attributes</a>

       <li><a href="semantics.html#syntax-references"><span class="secno">3.2.8
        </span>References</a>

       <li><a href="semantics.html#urls"><span class="secno">3.2.9 </span>URLs</a>
      </ul>

     <li><a href="semantics.html#documents0"><span class="secno">3.3 </span>Documents and
      document fragments</a>
      <ul class="toc">
       <li><a href="semantics.html#semantics0"><span class="secno">3.3.1 </span>Semantics</a>
        

       <li><a href="semantics.html#structure0"><span class="secno">3.3.2 </span>Structure</a>
        

       <li><a href="semantics.html#kinds"><span class="secno">3.3.3 </span>Kinds of
        content</a>
        <ul class="toc">
         <li><a href="semantics.html#metadata"><span class="secno">3.3.3.1. </span>Metadata
          content</a>

         <li><a href="semantics.html#flow-content"><span class="secno">3.3.3.2. </span>Flow
          content</a>

         <li><a href="semantics.html#sectioning"><span class="secno">3.3.3.3.
          </span>Sectioning content</a>

         <li><a href="semantics.html#heading"><span class="secno">3.3.3.4. </span>Heading
          content</a>

         <li><a href="semantics.html#phrasing"><span class="secno">3.3.3.5. </span>Phrasing
          content</a>

         <li><a href="semantics.html#embedded"><span class="secno">3.3.3.6. </span>Embedded
          content</a>

         <li><a href="semantics.html#interactive0"><span class="secno">3.3.3.7.
          </span>Interactive content</a>
        </ul>

       <li><a href="semantics.html#transparent"><span class="secno">3.3.4 </span>Transparent
        content models</a>

       <li><a href="semantics.html#paragraphs"><span class="secno">3.3.5
        </span>Paragraphs</a>
      </ul>

     <li><a href="semantics.html#global"><span class="secno">3.4 </span>Global attributes</a>
      
      <ul class="toc">
       <li><a href="semantics.html#the-id"><span class="secno">3.4.1 </span>The
        <code>id</code> attribute</a>

       <li><a href="semantics.html#the-title"><span class="secno">3.4.2 </span>The
        <code>title</code> attribute</a>

       <li><a href="semantics.html#the-lang"><span class="secno">3.4.3 </span>The
        <code>lang</code> (HTML only) and <code>xml:lang</code> (XML only)
        attributes</a>

       <li><a href="semantics.html#the-xmlbase"><span class="secno">3.4.4 </span>The
        <code>xml:base</code> attribute (XML only)</a>

       <li><a href="semantics.html#the-dir"><span class="secno">3.4.5 </span>The
        <code>dir</code> attribute</a>

       <li><a href="semantics.html#classes"><span class="secno">3.4.6 </span>The
        <code>class</code> attribute</a>

       <li><a href="semantics.html#the-irrelevant"><span class="secno">3.4.7 </span>The
        <code>irrelevant</code> attribute</a>

       <li><a href="semantics.html#the-style"><span class="secno">3.4.8 </span>The
        <code>style</code> attribute</a>

       <li><a href="semantics.html#embedding"><span class="secno">3.4.9 </span>Embedding
        custom non-visible data</a>
      </ul>

     <li><a href="semantics.html#interaction"><span class="secno">3.5 </span>Interaction</a>
      <ul class="toc">
       <li><a href="semantics.html#activation"><span class="secno">3.5.1
        </span>Activation</a>

       <li><a href="semantics.html#focus"><span class="secno">3.5.2 </span>Focus</a>
        <ul class="toc">
         <li><a href="semantics.html#focus-management"><span class="secno">3.5.2.1.
          </span>Focus management</a>

         <li><a href="semantics.html#sequential"><span class="secno">3.5.2.2.
          </span>Sequential focus navigation</a>
        </ul>

       <li><a href="semantics.html#scrolling"><span class="secno">3.5.3 </span>Scrolling
        elements into view</a>
      </ul>

     <li><a href="the-root.html#the-root"><span class="secno">3.6 </span>The root
      element</a>
      <ul class="toc">
       <li><a href="the-root.html#the-html"><span class="secno">3.6.1 </span>The
        <code>html</code> element</a>
      </ul>

     <li><a href="the-root.html#document"><span class="secno">3.7 </span>Document
      metadata</a>
      <ul class="toc">
       <li><a href="the-root.html#the-head"><span class="secno">3.7.1 </span>The
        <code>head</code> element</a>

       <li><a href="the-root.html#the-title0"><span class="secno">3.7.2 </span>The
        <code>title</code> element</a>

       <li><a href="the-root.html#the-base"><span class="secno">3.7.3 </span>The
        <code>base</code> element</a>

       <li><a href="the-root.html#the-link"><span class="secno">3.7.4 </span>The
        <code>link</code> element</a>

       <li><a href="the-root.html#meta"><span class="secno">3.7.5 </span>The
        <code>meta</code> element</a>
        <ul class="toc">
         <li><a href="the-root.html#standard"><span class="secno">3.7.5.1. </span>Standard
          metadata names</a>

         <li><a href="the-root.html#other"><span class="secno">3.7.5.2. </span>Other
          metadata names</a>

         <li><a href="the-root.html#pragma"><span class="secno">3.7.5.3. </span>Pragma
          directives</a>

         <li><a href="the-root.html#charset"><span class="secno">3.7.5.4. </span>Specifying
          the document's character encoding</a>
        </ul>

       <li><a href="the-root.html#the-style0"><span class="secno">3.7.6 </span>The
        <code>style</code> element</a>

       <li><a href="the-root.html#styling"><span class="secno">3.7.7 </span>Styling</a>
      </ul>

     <li><a href="the-root.html#sections"><span class="secno">3.8 </span>Sections</a>
      <ul class="toc">
       <li><a href="the-root.html#the-body"><span class="secno">3.8.1 </span>The
        <code>body</code> element</a>

       <li><a href="the-root.html#the-section"><span class="secno">3.8.2 </span>The
        <code>section</code> element</a>

       <li><a href="the-root.html#the-nav"><span class="secno">3.8.3 </span>The
        <code>nav</code> element</a>

       <li><a href="the-root.html#the-article"><span class="secno">3.8.4 </span>The
        <code>article</code> element</a>

       <li><a href="the-root.html#the-aside"><span class="secno">3.8.5 </span>The
        <code>aside</code> element</a>

       <li><a href="the-root.html#the-h1"><span class="secno">3.8.6 </span>The
        <code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>,
        <code>h5</code>, and <code>h6</code> elements</a>

       <li><a href="the-root.html#the-header"><span class="secno">3.8.7 </span>The
        <code>header</code> element</a>

       <li><a href="the-root.html#the-footer"><span class="secno">3.8.8 </span>The
        <code>footer</code> element</a>

       <li><a href="the-root.html#the-address"><span class="secno">3.8.9 </span>The
        <code>address</code> element</a>

       <li><a href="the-root.html#headings"><span class="secno">3.8.10 </span>Headings and
        sections</a>
        <ul class="toc">
         <li><a href="the-root.html#outlines"><span class="secno">3.8.10.1. </span>Creating
          an outline</a>

         <li><a href="the-root.html#distinguishing"><span class="secno">3.8.10.2.
          </span>Distinguishing site-wide headings from page headings</a>
        </ul>
      </ul>

     <li><a href="the-root.html#grouping"><span class="secno">3.9 </span>Grouping
      content</a>
      <ul class="toc">
       <li><a href="the-root.html#the-p"><span class="secno">3.9.1 </span>The <code>p</code>
        element</a>

       <li><a href="the-root.html#the-hr"><span class="secno">3.9.2 </span>The
        <code>hr</code> element</a>

       <li><a href="the-root.html#the-br"><span class="secno">3.9.3 </span>The
        <code>br</code> element</a>

       <li><a href="the-root.html#the-pre"><span class="secno">3.9.4 </span>The
        <code>pre</code> element</a>

       <li><a href="the-root.html#the-dialog"><span class="secno">3.9.5 </span>The
        <code>dialog</code> element</a>

       <li><a href="the-root.html#the-blockquote"><span class="secno">3.9.6 </span>The
        <code>blockquote</code> element</a>

       <li><a href="the-root.html#the-ol"><span class="secno">3.9.7 </span>The
        <code>ol</code> element</a>

       <li><a href="the-root.html#the-ul"><span class="secno">3.9.8 </span>The
        <code>ul</code> element</a>

       <li><a href="the-root.html#the-li"><span class="secno">3.9.9 </span>The
        <code>li</code> element</a>

       <li><a href="the-root.html#the-dl"><span class="secno">3.9.10 </span>The
        <code>dl</code> element</a>

       <li><a href="the-root.html#the-dt"><span class="secno">3.9.11 </span>The
        <code>dt</code> element</a>

       <li><a href="the-root.html#the-dd"><span class="secno">3.9.12 </span>The
        <code>dd</code> element</a>
      </ul>

     <li><a href="text-level.html#text-level"><span class="secno">3.10 </span>Text-level
      semantics</a>
      <ul class="toc">
       <li><a href="text-level.html#the-a"><span class="secno">3.10.1 </span>The
        <code>a</code> element</a>

       <li><a href="text-level.html#the-q"><span class="secno">3.10.2 </span>The
        <code>q</code> element</a>

       <li><a href="text-level.html#the-cite"><span class="secno">3.10.3 </span>The
        <code>cite</code> element</a>

       <li><a href="text-level.html#the-em"><span class="secno">3.10.4 </span>The
        <code>em</code> element</a>

       <li><a href="text-level.html#the-strong"><span class="secno">3.10.5 </span>The
        <code>strong</code> element</a>

       <li><a href="text-level.html#the-small"><span class="secno">3.10.6 </span>The
        <code>small</code> element</a>

       <li><a href="text-level.html#the-mark"><span class="secno">3.10.7 </span>The
        <code>mark</code> element</a>

       <li><a href="text-level.html#the-dfn"><span class="secno">3.10.8 </span>The
        <code>dfn</code> element</a>

       <li><a href="text-level.html#the-abbr"><span class="secno">3.10.9 </span>The
        <code>abbr</code> element</a>

       <li><a href="text-level.html#the-time"><span class="secno">3.10.10 </span>The
        <code>time</code> element</a>

       <li><a href="text-level.html#the-progress"><span class="secno">3.10.11 </span>The
        <code>progress</code> element</a>

       <li><a href="text-level.html#the-meter"><span class="secno">3.10.12 </span>The
        <code>meter</code> element</a>

       <li><a href="text-level.html#the-code"><span class="secno">3.10.13 </span>The
        <code>code</code> element</a>

       <li><a href="text-level.html#the-var"><span class="secno">3.10.14 </span>The
        <code>var</code> element</a>

       <li><a href="text-level.html#the-samp"><span class="secno">3.10.15 </span>The
        <code>samp</code> element</a>

       <li><a href="text-level.html#the-kbd"><span class="secno">3.10.16 </span>The
        <code>kbd</code> element</a>

       <li><a href="text-level.html#the-sub"><span class="secno">3.10.17 </span>The
        <code>sub</code> and <code>sup</code> elements</a>

       <li><a href="text-level.html#the-span"><span class="secno">3.10.18 </span>The
        <code>span</code> element</a>

       <li><a href="text-level.html#the-i"><span class="secno">3.10.19 </span>The
        <code>i</code> element</a>

       <li><a href="text-level.html#the-b"><span class="secno">3.10.20 </span>The
        <code>b</code> element</a>

       <li><a href="text-level.html#the-bdo"><span class="secno">3.10.21 </span>The
        <code>bdo</code> element</a>

       <li><a href="text-level.html#the-ruby"><span class="secno">3.10.22 </span>The
        <code>ruby</code> element</a>

       <li><a href="text-level.html#the-rt"><span class="secno">3.10.23 </span>The
        <code>rt</code> element</a>

       <li><a href="text-level.html#the-rp"><span class="secno">3.10.24 </span>The
        <code>rp</code> element</a>

       <li><a href="text-level.html#usage"><span class="secno">3.10.25 </span>Usage
        summary</a>

       <li><a href="text-level.html#footnotes"><span class="secno">3.10.26
        </span>Footnotes</a>
      </ul>

     <li><a href="text-level.html#edits"><span class="secno">3.11 </span>Edits</a>
      <ul class="toc">
       <li><a href="text-level.html#the-ins"><span class="secno">3.11.1 </span>The
        <code>ins</code> element</a>

       <li><a href="text-level.html#the-del"><span class="secno">3.11.2 </span>The
        <code>del</code> element</a>

       <li><a href="text-level.html#attributes"><span class="secno">3.11.3 </span>Attributes
        common to <code>ins</code> and <code>del</code> elements</a>

       <li><a href="text-level.html#edits0"><span class="secno">3.11.4 </span>Edits and
        paragraphs</a>

       <li><a href="text-level.html#edits1"><span class="secno">3.11.5 </span>Edits and
        lists</a>
      </ul>

     <li><a href="embedded0.html#embedded0"><span class="secno">3.12 </span>Embedded
      content</a>
      <ul class="toc">
       <li><a href="embedded0.html#the-figure"><span class="secno">3.12.1 </span>The
        <code>figure</code> element</a>

       <li><a href="embedded0.html#the-img"><span class="secno">3.12.2 </span>The
        <code>img</code> element</a>

       <li><a href="embedded0.html#the-iframe"><span class="secno">3.12.3 </span>The
        <code>iframe</code> element</a>

       <li><a href="embedded0.html#the-embed"><span class="secno">3.12.4 </span>The
        <code>embed</code> element</a>

       <li><a href="embedded0.html#the-object"><span class="secno">3.12.5 </span>The
        <code>object</code> element</a>

       <li><a href="embedded0.html#the-param"><span class="secno">3.12.6 </span>The
        <code>param</code> element</a>

       <li><a href="video.html#video"><span class="secno">3.12.7 </span>The
        <code>video</code> element</a>
        <ul class="toc">
         <li><a href="video.html#video0"><span class="secno">3.12.7.1. </span>Video and
          audio codecs for <code>video</code> elements</a>
        </ul>

       <li><a href="video.html#audio"><span class="secno">3.12.8 </span>The
        <code>audio</code> element</a>
        <ul class="toc">
         <li><a href="video.html#audio0"><span class="secno">3.12.8.1. </span>Audio
          codecs for <code>audio</code> elements</a>
        </ul>

       <li><a href="video.html#the-source"><span class="secno">3.12.9 </span>The
        <code>source</code> element</a>

       <li><a href="video.html#media"><span class="secno">3.12.10 </span>Media
        elements</a>
        <ul class="toc">
         <li><a href="video.html#error"><span class="secno">3.12.10.1. </span>Error
          codes</a>

         <li><a href="video.html#location"><span class="secno">3.12.10.2. </span>Location
          of the media resource</a>

         <li><a href="video.html#network0"><span class="secno">3.12.10.3. </span>Network
          states</a>

         <li><a href="video.html#loading"><span class="secno">3.12.10.4. </span>Loading
          the media resource</a>

         <li><a href="video.html#offsets"><span class="secno">3.12.10.5. </span>Offsets
          into the media resource</a>

         <li><a href="video.html#the-ready"><span class="secno">3.12.10.6. </span>The
          ready states</a>

         <li><a href="video.html#playing"><span class="secno">3.12.10.7. </span>Playing
          the media resource</a>

         <li><a href="video.html#seeking"><span class="secno">3.12.10.8.
          </span>Seeking</a>

         <li><a href="video.html#cue-ranges"><span class="secno">3.12.10.9. </span>Cue
          ranges</a>

         <li><a href="video.html#user-interface"><span class="secno">3.12.10.10.
          </span>User interface</a>

         <li><a href="video.html#time-ranges"><span class="secno">3.12.10.11. </span>Time
          ranges</a>

         <li><a href="video.html#byte-ranges"><span class="secno">3.12.10.12. </span>Byte
          ranges</a>

         <li><a href="video.html#mediaevents"><span class="secno">3.12.10.13.
          </span>Event summary</a>

         <li><a href="video.html#security0"><span class="secno">3.12.10.14.
          </span>Security and privacy considerations</a>
        </ul>

       <li><a href="the-canvas.html#the-canvas"><span class="secno">3.12.11 </span>The
        <code>canvas</code> element</a>
        <ul class="toc">
         <li><a href="the-canvas.html#the-2d"><span class="secno">3.12.11.1. </span>The 2D
          context</a>
          <ul class="toc">
           <li><a href="the-canvas.html#the-canvas0"><span class="secno">3.12.11.1.1.
            </span>The canvas state</a>

           <li><a href="the-canvas.html#transformations"><span class="secno">3.12.11.1.2.
            </span>Transformations</a>

           <li><a href="the-canvas.html#compositing"><span class="secno">3.12.11.1.3.
            </span>Compositing</a>

           <li><a href="the-canvas.html#colors"><span class="secno">3.12.11.1.4. </span>Colors
            and styles</a>

           <li><a href="the-canvas.html#line-styles"><span class="secno">3.12.11.1.5.
            </span>Line styles</a>

           <li><a href="the-canvas.html#shadows"><span class="secno">3.12.11.1.6.
            </span>Shadows</a>

           <li><a href="the-canvas.html#simple"><span class="secno">3.12.11.1.7. </span>Simple
            shapes (rectangles)</a>

           <li><a href="the-canvas.html#complex"><span class="secno">3.12.11.1.8.
            </span>Complex shapes (paths)</a>

           <li><a href="the-canvas.html#text"><span class="secno">3.12.11.1.9. </span>Text</a>
            

           <li><a href="the-canvas.html#images"><span class="secno">3.12.11.1.10.
            </span>Images</a>

           <li><a href="the-canvas.html#pixel"><span class="secno">3.12.11.1.11. </span>Pixel
            manipulation</a>

           <li><a href="the-canvas.html#drawing"><span class="secno">3.12.11.1.12.
            </span>Drawing model</a>
          </ul>

         <li><a href="the-canvas.html#color"><span class="secno">3.12.11.2. </span>Color
          spaces and color correction</a>

         <li><a href="the-canvas.html#security1"><span class="secno">3.12.11.3.
          </span>Security with <code>canvas</code> elements</a>
        </ul>

       <li><a href="the-canvas.html#the-map"><span class="secno">3.12.12 </span>The
        <code>map</code> element</a>

       <li><a href="the-canvas.html#the-area"><span class="secno">3.12.13 </span>The
        <code>area</code> element</a>

       <li><a href="the-canvas.html#image-maps"><span class="secno">3.12.14 </span>Image
        maps</a>

       <li><a href="the-canvas.html#mathml"><span class="secno">3.12.15 </span>MathML</a>

       <li><a href="the-canvas.html#svg"><span class="secno">3.12.16 </span>SVG</a>

       <li><a href="the-canvas.html#dimension"><span class="secno">3.12.17 </span>Dimension
        attributes</a>
      </ul>

     <li><a href="tabular.html#tabular"><span class="secno">3.13 </span>Tabular data</a>
      <ul class="toc">
       <li><a href="tabular.html#table-intro"><span class="secno">3.13.1
        </span>Introduction</a>

       <li><a href="tabular.html#the-table"><span class="secno">3.13.2 </span>The
        <code>table</code> element</a>

       <li><a href="tabular.html#the-caption"><span class="secno">3.13.3 </span>The
        <code>caption</code> element</a>

       <li><a href="tabular.html#the-colgroup"><span class="secno">3.13.4 </span>The
        <code>colgroup</code> element</a>

       <li><a href="tabular.html#the-col"><span class="secno">3.13.5 </span>The
        <code>col</code> element</a>

       <li><a href="tabular.html#the-tbody"><span class="secno">3.13.6 </span>The
        <code>tbody</code> element</a>

       <li><a href="tabular.html#the-thead"><span class="secno">3.13.7 </span>The
        <code>thead</code> element</a>

       <li><a href="tabular.html#the-tfoot"><span class="secno">3.13.8 </span>The
        <code>tfoot</code> element</a>

       <li><a href="tabular.html#the-tr"><span class="secno">3.13.9 </span>The
        <code>tr</code> element</a>

       <li><a href="tabular.html#the-td"><span class="secno">3.13.10 </span>The
        <code>td</code> element</a>

       <li><a href="tabular.html#the-th"><span class="secno">3.13.11 </span>The
        <code>th</code> element</a>

       <li><a href="tabular.html#attributes0"><span class="secno">3.13.12 </span>Attributes
        common to <code>td</code> and <code>th</code> elements</a>

       <li><a href="tabular.html#processing"><span class="secno">3.13.13 </span>Processing
        model</a>
        <ul class="toc">
         <li><a href="tabular.html#forming"><span class="secno">3.13.13.1. </span>Forming a
          table</a>

         <li><a href="tabular.html#header-and-data-cell-semantics"><span class="secno">3.13.13.2. </span>Forming relationships between data
          cells and header cells</a>
        </ul>
      </ul>

     <li><a href="tabular.html#forms"><span class="secno">3.14 </span>Forms</a>
      <ul class="toc">
       <li><a href="tabular.html#the-form"><span class="secno">3.14.1 </span>The
        <code>form</code> element</a>

       <li><a href="tabular.html#the-fieldset"><span class="secno">3.14.2 </span>The
        <code>fieldset</code> element</a>

       <li><a href="tabular.html#the-input"><span class="secno">3.14.3 </span>The
        <code>input</code> element</a>

       <li><a href="tabular.html#the-button"><span class="secno">3.14.4 </span>The
        <code>button</code> element</a>

       <li><a href="tabular.html#the-label"><span class="secno">3.14.5 </span>The
        <code>label</code> element</a>

       <li><a href="tabular.html#the-select"><span class="secno">3.14.6 </span>The
        <code>select</code> element</a>

       <li><a href="tabular.html#the-datalist"><span class="secno">3.14.7 </span>The
        <code>datalist</code> element</a>

       <li><a href="tabular.html#the-optgroup"><span class="secno">3.14.8 </span>The
        <code>optgroup</code> element</a>

       <li><a href="tabular.html#the-option"><span class="secno">3.14.9 </span>The
        <code>option</code> element</a>

       <li><a href="tabular.html#the-textarea"><span class="secno">3.14.10 </span>The
        <code>textarea</code> element</a>

       <li><a href="tabular.html#the-output"><span class="secno">3.14.11 </span>The
        <code>output</code> element</a>

       <li><a href="tabular.html#processing0"><span class="secno">3.14.12 </span>Processing
        model</a>
        <ul class="toc">
         <li><a href="tabular.html#form-submission"><span class="secno">3.14.12.1.
          </span>Form submission</a>
        </ul>
      </ul>

     <li><a href="tabular.html#scripting0"><span class="secno">3.15 </span>Scripting</a>
      <ul class="toc">
       <li><a href="tabular.html#script"><span class="secno">3.15.1 </span>The
        <code>script</code> element</a>
        <ul class="toc">
         <li><a href="tabular.html#scriptingLanguages"><span class="secno">3.15.1.1.
          </span>Scripting languages</a>
        </ul>

       <li><a href="tabular.html#the-noscript"><span class="secno">3.15.2 </span>The
        <code>noscript</code> element</a>

       <li><a href="tabular.html#the-event-source"><span class="secno">3.15.3 </span>The
        <code>event-source</code> element</a>
      </ul>

     <li><a href="interactive-elements.html#interactive-elements"><span class="secno">3.16
      </span>Interactive elements</a>
      <ul class="toc">
       <li><a href="interactive-elements.html#the-details"><span class="secno">3.16.1 </span>The
        <code>details</code> element</a>

       <li><a href="interactive-elements.html#datagrid"><span class="secno">3.16.2 </span>The
        <code>datagrid</code> element</a>
        <ul class="toc">
         <li><a href="interactive-elements.html#the-datagrid"><span class="secno">3.16.2.1. </span>The
          <code>datagrid</code> data model</a>

         <li><a href="interactive-elements.html#how-rows"><span class="secno">3.16.2.2. </span>How rows
          are identified</a>

         <li><a href="interactive-elements.html#the-data"><span class="secno">3.16.2.3. </span>The data
          provider interface</a>

         <li><a href="interactive-elements.html#the-default"><span class="secno">3.16.2.4. </span>The
          default data provider</a>
          <ul class="toc">
           <li><a href="interactive-elements.html#commonDefaultDataGridMethodDefinitions"><span class="secno">3.16.2.4.1. </span>Common default data provider
            method definitions for cells</a>
          </ul>

         <li><a href="interactive-elements.html#populating"><span class="secno">3.16.2.5.
          </span>Populating the <code>datagrid</code> element</a>

         <li><a href="interactive-elements.html#updating"><span class="secno">3.16.2.6. </span>Updating
          the <code>datagrid</code></a>

         <li><a href="interactive-elements.html#requirements"><span class="secno">3.16.2.7.
          </span>Requirements for interactive user agents</a>

         <li><a href="interactive-elements.html#the-selection"><span class="secno">3.16.2.8. </span>The
          selection</a>

         <li><a href="interactive-elements.html#columns"><span class="secno">3.16.2.9. </span>Columns
          and captions</a>
        </ul>

       <li><a href="interactive-elements.html#the-command"><span class="secno">3.16.3 </span>The
        <code>command</code> element</a>

       <li><a href="interactive-elements.html#menus"><span class="secno">3.16.4 </span>The
        <code>menu</code> element</a>
        <ul class="toc">
         <li><a href="interactive-elements.html#menus-intro"><span class="secno">3.16.4.1.
          </span>Introduction</a>

         <li><a href="interactive-elements.html#building"><span class="secno">3.16.4.2. </span>Building
          menus and tool bars</a>

         <li><a href="interactive-elements.html#context"><span class="secno">3.16.4.3. </span>Context
          menus</a>

         <li><a href="interactive-elements.html#toolbars"><span class="secno">3.16.4.4.
          </span>Toolbars</a>
        </ul>

       <li><a href="interactive-elements.html#commands"><span class="secno">3.16.5 </span>Commands</a>
        <ul class="toc">
         <li><a href="interactive-elements.html#using"><span class="secno">3.16.5.1. </span>Using the
          <code>a</code> element to define a command</a>

         <li><a href="interactive-elements.html#using0"><span class="secno">3.16.5.2. </span>Using the
          <code>button</code> element to define a command</a>

         <li><a href="interactive-elements.html#using1"><span class="secno">3.16.5.3. </span>Using the
          <code>input</code> element to define a command</a>

         <li><a href="interactive-elements.html#using2"><span class="secno">3.16.5.4. </span>Using the
          <code>option</code> element to define a command</a>

         <li><a href="interactive-elements.html#using3"><span class="secno">3.16.5.5. </span>Using the
          <code>command</code> element to define a command</a>
        </ul>
      </ul>

     <li><a href="interactive-elements.html#datatemplate"><span class="secno">3.17 </span>Data
      Templates</a>
      <ul class="toc">
       <li><a href="interactive-elements.html#introduction0"><span class="secno">3.17.1
        </span>Introduction</a>

       <li><a href="interactive-elements.html#the-datatemplate"><span class="secno">3.17.2 </span>The
        <code>datatemplate</code> element</a>

       <li><a href="interactive-elements.html#the-rule"><span class="secno">3.17.3 </span>The
        <code>rule</code> element</a>

       <li><a href="interactive-elements.html#the-nest"><span class="secno">3.17.4 </span>The
        <code>nest</code> element</a>

       <li><a href="interactive-elements.html#global0"><span class="secno">3.17.5 </span>Global
        attributes for data templates</a>

       <li><a href="interactive-elements.html#processing1"><span class="secno">3.17.6 </span>Processing
        model</a>
        <ul class="toc">
         <li><a href="interactive-elements.html#the-originalcontent"><span class="secno">3.17.6.1.
          </span>The <code title="dom-originalContent">originalContent</code>
          DOM attribute</a>

         <li><a href="interactive-elements.html#the-template"><span class="secno">3.17.6.2. </span>The
          <code title="attr-template">template</code> attribute</a>

         <li><a href="interactive-elements.html#the-ref"><span class="secno">3.17.6.3. </span>The <code title="attr-ref">ref</code> attribute</a>

         <li><a href="interactive-elements.html#the-nodedatatemplate"><span class="secno">3.17.6.4.
          </span>The <code>NodeDataTemplate</code> interface</a>

         <li><a href="interactive-elements.html#mutations"><span class="secno">3.17.6.5.
          </span>Mutations</a>

         <li><a href="interactive-elements.html#updating0"><span class="secno">3.17.6.6. </span>Updating
          the generated content</a>
        </ul>
      </ul>

     <li><a href="interactive-elements.html#miscellaneous"><span class="secno">3.18 </span>Miscellaneous
      elements</a>
      <ul class="toc">
       <li><a href="interactive-elements.html#the-legend"><span class="secno">3.18.1 </span>The
        <code>legend</code> element</a>

       <li><a href="interactive-elements.html#the-div"><span class="secno">3.18.2 </span>The
        <code>div</code> element</a>
      </ul>
    </ul>

   <li><a href="web-browsers.html#web-browsers"><span class="secno">4. </span>Web browsers</a>
    <ul class="toc">
     <li><a href="web-browsers.html#windows"><span class="secno">4.1 </span>Browsing
      contexts</a>
      <ul class="toc">
       <li><a href="web-browsers.html#nested"><span class="secno">4.1.1 </span>Nested browsing
        contexts</a>

       <li><a href="web-browsers.html#auxiliary"><span class="secno">4.1.2 </span>Auxiliary
        browsing contexts</a>

       <li><a href="web-browsers.html#secondary"><span class="secno">4.1.3 </span>Secondary
        browsing contexts</a>

       <li><a href="web-browsers.html#security2"><span class="secno">4.1.4 </span>Security</a>

       <li><a href="web-browsers.html#threads"><span class="secno">4.1.5 </span>Threads</a>

       <li><a href="web-browsers.html#browsing"><span class="secno">4.1.6 </span>Browsing
        context names</a>
      </ul>

     <li><a href="web-browsers.html#the-default0"><span class="secno">4.2 </span>The default
      view</a>
      <ul class="toc">
       <li><a href="web-browsers.html#security3"><span class="secno">4.2.1 </span>Security</a>

       <li><a href="web-browsers.html#constructors"><span class="secno">4.2.2
        </span>Constructors</a>

       <li><a href="web-browsers.html#apis-for"><span class="secno">4.2.3 </span>APIs for
        creating and navigating browsing contexts by name</a>

       <li><a href="web-browsers.html#accessing"><span class="secno">4.2.4 </span>Accessing
        other browsing contexts</a>
      </ul>

     <li><a href="web-browsers.html#origin"><span class="secno">4.3 </span>Origin</a>
      <ul class="toc">
       <li><a href="web-browsers.html#relaxing"><span class="secno">4.3.1 </span>Relaxing the
        same-origin restriction</a>

       <li><a href="web-browsers.html#the-string"><span class="secno">4.3.2 </span>The string
        representing the script's domain in IDNA format</a>
      </ul>

     <li><a href="web-browsers.html#scripting"><span class="secno">4.4 </span>Scripting</a>
      <ul class="toc">
       <li><a href="web-browsers.html#script0"><span class="secno">4.4.1 </span>Script execution
        contexts</a>

       <li><a href="web-browsers.html#security4"><span class="secno">4.4.2 </span>Security
        exceptions</a>

       <li><a href="web-browsers.html#javascript-protocol"><span class="secno">4.4.3 </span>The
        <code title="">javascript:</code> protocol</a>

       <li><a href="web-browsers.html#events"><span class="secno">4.4.4 </span>Events</a>
        <ul class="toc">
         <li><a href="web-browsers.html#event-handler-attributes"><span class="secno">4.4.4.1.
          </span>Event handler attributes</a>

         <li><a href="web-browsers.html#event"><span class="secno">4.4.4.2. </span>Event
          firing</a>

         <li><a href="web-browsers.html#events0"><span class="secno">4.4.4.3. </span>Events and
          the <code>Window</code> object</a>

         <li><a href="web-browsers.html#runtime-script-errors"><span class="secno">4.4.4.4.
          </span>Runtime script errors</a>
        </ul>
      </ul>

     <li><a href="web-browsers.html#user-prompts"><span class="secno">4.5 </span>User
      prompts</a>
      <ul class="toc">
       <li><a href="web-browsers.html#simple0"><span class="secno">4.5.1 </span>Simple
        dialogs</a>

       <li><a href="web-browsers.html#printing"><span class="secno">4.5.2 </span>Printing</a>

       <li><a href="web-browsers.html#dialogs"><span class="secno">4.5.3 </span>Dialogs
        implemented using separate documents</a>

       <li><a href="web-browsers.html#notifications"><span class="secno">4.5.4
        </span>Notifications</a>
      </ul>

     <li><a href="web-browsers.html#browser"><span class="secno">4.6 </span>Browser state</a>
      <ul class="toc">
       <li><a href="web-browsers.html#custom-handlers"><span class="secno">4.6.1 </span>Custom
        protocol and content handlers</a>
        <ul class="toc">
         <li><a href="web-browsers.html#security5"><span class="secno">4.6.1.1. </span>Security
          and privacy</a>

         <li><a href="web-browsers.html#sample-handler-impl"><span class="secno">4.6.1.2.
          </span>Sample user interface</a>
        </ul>
      </ul>

     <li><a href="offline.html#offline"><span class="secno">4.7 </span>Offline Web
      applications</a>
      <ul class="toc">
       <li><a href="offline.html#introduction1"><span class="secno">4.7.1
        </span>Introduction</a>

       <li><a href="offline.html#appcache"><span class="secno">4.7.2 </span>Application
        caches</a>

       <li><a href="offline.html#manifests"><span class="secno">4.7.3 </span>The cache
        manifest syntax</a>
        <ul class="toc">
         <li><a href="offline.html#writing"><span class="secno">4.7.3.1. </span>Writing
          cache manifests</a>

         <li><a href="offline.html#parsing0"><span class="secno">4.7.3.2. </span>Parsing
          cache manifests</a>
        </ul>

       <li><a href="offline.html#updating1"><span class="secno">4.7.4 </span>Updating an
        application cache</a>

       <li><a href="offline.html#processing2"><span class="secno">4.7.5 </span>Processing
        model</a>
        <ul class="toc">
         <li><a href="offline.html#changes"><span class="secno">4.7.5.1. </span>Changes to
          the networking model</a>
        </ul>

       <li><a href="offline.html#application"><span class="secno">4.7.6 </span>Application
        cache API</a>

       <li><a href="offline.html#browser0"><span class="secno">4.7.7 </span>Browser
        state</a>
      </ul>

     <li><a href="history.html#history"><span class="secno">4.8 </span>Session history and
      navigation</a>
      <ul class="toc">
       <li><a href="history.html#the-session"><span class="secno">4.8.1 </span>The session
        history of browsing contexts</a>

       <li><a href="history.html#the-history"><span class="secno">4.8.2 </span>The
        <code>History</code> interface</a>

       <li><a href="history.html#activating"><span class="secno">4.8.3 </span>Activating
        state object entries</a>

       <li><a href="history.html#the-location"><span class="secno">4.8.4 </span>The
        <code>Location</code> interface</a>
        <ul class="toc">
         <li><a href="history.html#security6"><span class="secno">4.8.4.1.
          </span>Security</a>
        </ul>

       <li><a href="history.html#history-notes"><span class="secno">4.8.5
        </span>Implementation notes for session history</a>
      </ul>

     <li><a href="history.html#browsing0"><span class="secno">4.9 </span>Browsing the
      Web</a>
      <ul class="toc">
       <li><a href="history.html#navigating"><span class="secno">4.9.1 </span>Navigating
        across documents</a>

       <li><a href="history.html#read-html"><span class="secno">4.9.2 </span>Page load
        processing model for HTML files</a>

       <li><a href="history.html#read-xml"><span class="secno">4.9.3 </span>Page load
        processing model for XML files</a>

       <li><a href="history.html#read-text"><span class="secno">4.9.4 </span>Page load
        processing model for text files</a>

       <li><a href="history.html#read-image"><span class="secno">4.9.5 </span>Page load
        processing model for images</a>

       <li><a href="history.html#read-plugin"><span class="secno">4.9.6 </span>Page load
        processing model for content that uses plugins</a>

       <li><a href="history.html#read-ua-inline"><span class="secno">4.9.7 </span>Page load
        processing model for inline content that doesn't have a DOM</a>

       <li><a href="history.html#scroll-to-fragid"><span class="secno">4.9.8
        </span>Navigating to a fragment identifier</a>

       <li><a href="history.html#history0"><span class="secno">4.9.9 </span>History
        traversal</a>
      </ul>

     <li><a href="history.html#content-type-sniffing"><span class="secno">4.10
      </span>Determining the type of a new resource in a browsing context</a>
      
      <ul class="toc">
       <li><a href="history.html#content-type0"><span class="secno">4.10.1
        </span>Content-Type sniffing: text or binary</a>

       <li><a href="history.html#content-type1"><span class="secno">4.10.2
        </span>Content-Type sniffing: unknown type</a>

       <li><a href="history.html#content-type2"><span class="secno">4.10.3
        </span>Content-Type sniffing: image</a>

       <li><a href="history.html#content-type3"><span class="secno">4.10.4
        </span>Content-Type sniffing: feed or HTML</a>

       <li><a href="history.html#content-type"><span class="secno">4.10.5
        </span>Content-Type metadata</a>
      </ul>

     <li><a href="structured.html#structured"><span class="secno">4.11 </span>Structured
      client-side storage</a>
      <ul class="toc">
       <li><a href="structured.html#storage"><span class="secno">4.11.1 </span>Storing
        name/value pairs</a>
        <ul class="toc">
         <li><a href="structured.html#introduction2"><span class="secno">4.11.1.1.
          </span>Introduction</a>

         <li><a href="structured.html#the-storage"><span class="secno">4.11.1.2. </span>The
          <code>Storage</code> interface</a>

         <li><a href="structured.html#the-sessionstorage"><span class="secno">4.11.1.3.
          </span>The <code title="dom-sessionStorage">sessionStorage</code>
          attribute</a>

         <li><a href="structured.html#the-localstorage"><span class="secno">4.11.1.4.
          </span>The <code title="dom-localStorage">localStorage</code>
          attribute</a>

         <li><a href="structured.html#the-storage0"><span class="secno">4.11.1.5. </span>The
          <code title="event-storage">storage</code> event</a>
          <ul class="toc">
           <li><a href="structured.html#event0"><span class="secno">4.11.1.5.1. </span>Event
            definition</a>
          </ul>

         <li><a href="structured.html#threads0"><span class="secno">4.11.1.6.
          </span>Threads</a>
        </ul>

       <li><a href="structured.html#sql"><span class="secno">4.11.2 </span>Database
        storage</a>
        <ul class="toc">
         <li><a href="structured.html#introduction3"><span class="secno">4.11.2.1.
          </span>Introduction</a>

         <li><a href="structured.html#databases"><span class="secno">4.11.2.2.
          </span>Databases</a>

         <li><a href="structured.html#executing"><span class="secno">4.11.2.3.
          </span>Executing SQL statements</a>

         <li><a href="structured.html#database"><span class="secno">4.11.2.4. </span>Database
          query results</a>

         <li><a href="structured.html#errors"><span class="secno">4.11.2.5. </span>Errors</a>

         <li><a href="structured.html#processing3"><span class="secno">4.11.2.6.
          </span>Processing model</a>
        </ul>

       <li><a href="structured.html#disk-space"><span class="secno">4.11.3 </span>Disk
        space</a>

       <li><a href="structured.html#privacy"><span class="secno">4.11.4 </span>Privacy</a>
        <ul class="toc">
         <li><a href="structured.html#user-tracking"><span class="secno">4.11.4.1. </span>User
          tracking</a>

         <li><a href="structured.html#cookie"><span class="secno">4.11.4.2. </span>Cookie
          resurrection</a>
        </ul>

       <li><a href="structured.html#security7"><span class="secno">4.11.5 </span>Security</a>
        <ul class="toc">
         <li><a href="structured.html#dns-spoofing"><span class="secno">4.11.5.1. </span>DNS
          spoofing attacks</a>

         <li><a href="structured.html#cross-directory"><span class="secno">4.11.5.2.
          </span>Cross-directory attacks</a>

         <li><a href="structured.html#implementation"><span class="secno">4.11.5.3.
          </span>Implementation risks</a>

         <li><a href="structured.html#sql-and"><span class="secno">4.11.5.4. </span>SQL and
          user agents</a>

         <li><a href="structured.html#sql-injection"><span class="secno">4.11.5.5. </span>SQL
          injection</a>
        </ul>
      </ul>

     <li><a href="structured.html#links"><span class="secno">4.12 </span>Links</a>
      <ul class="toc">
       <li><a href="structured.html#hyperlink"><span class="secno">4.12.1 </span>Hyperlink
        elements</a>

       <li><a href="structured.html#following"><span class="secno">4.12.2 </span>Following
        hyperlinks</a>
        <ul class="toc">
         <li><a href="structured.html#hyperlink0"><span class="secno">4.12.2.1.
          </span>Hyperlink auditing</a>
        </ul>

       <li><a href="structured.html#linkTypes"><span class="secno">4.12.3 </span>Link
        types</a>
        <ul class="toc">
         <li><a href="structured.html#link-type"><span class="secno">4.12.3.1. </span>Link
          type "<code>alternate</code>"</a>

         <li><a href="structured.html#link-type0"><span class="secno">4.12.3.2. </span>Link
          type "<code>archives</code>"</a>

         <li><a href="structured.html#link-type1"><span class="secno">4.12.3.3. </span>Link
          type "<code>author</code>"</a>

         <li><a href="structured.html#link-type2"><span class="secno">4.12.3.4. </span>Link
          type "<code>bookmark</code>"</a>

         <li><a href="structured.html#link-type3"><span class="secno">4.12.3.5. </span>Link
          type "<code>external</code>"</a>

         <li><a href="structured.html#link-type4"><span class="secno">4.12.3.6. </span>Link
          type "<code>feed</code>"</a>

         <li><a href="structured.html#link-type5"><span class="secno">4.12.3.7. </span>Link
          type "<code>help</code>"</a>

         <li><a href="structured.html#rel-icon"><span class="secno">4.12.3.8. </span>Link type
          "<code>icon</code>"</a>

         <li><a href="structured.html#link-type6"><span class="secno">4.12.3.9. </span>Link
          type "<code>license</code>"</a>

         <li><a href="structured.html#link-type7"><span class="secno">4.12.3.10. </span>Link
          type "<code>nofollow</code>"</a>

         <li><a href="structured.html#link-type8"><span class="secno">4.12.3.11. </span>Link
          type "<code>noreferrer</code>"</a>

         <li><a href="structured.html#link-type9"><span class="secno">4.12.3.12. </span>Link
          type "<code>pingback</code>"</a>

         <li><a href="structured.html#link-type10"><span class="secno">4.12.3.13. </span>Link
          type "<code>prefetch</code>"</a>

         <li><a href="structured.html#link-type11"><span class="secno">4.12.3.14. </span>Link
          type "<code>search</code>"</a>

         <li><a href="structured.html#link-type12"><span class="secno">4.12.3.15. </span>Link
          type "<code>stylesheet</code>"</a>

         <li><a href="structured.html#link-type13"><span class="secno">4.12.3.16. </span>Link
          type "<code>sidebar</code>"</a>

         <li><a href="structured.html#link-type14"><span class="secno">4.12.3.17. </span>Link
          type "<code>tag</code>"</a>

         <li><a href="structured.html#hierarchical"><span class="secno">4.12.3.18.
          </span>Hierarchical link types</a>
          <ul class="toc">
           <li><a href="structured.html#link-type15"><span class="secno">4.12.3.18.1.
            </span>Link type "<code>index</code>"</a>

           <li><a href="structured.html#link-type16"><span class="secno">4.12.3.18.2.
            </span>Link type "<code>up</code>"</a>
          </ul>

         <li><a href="structured.html#sequential0"><span class="secno">4.12.3.19.
          </span>Sequential link types</a>
          <ul class="toc">
           <li><a href="structured.html#link-type17"><span class="secno">4.12.3.19.1.
            </span>Link type "<code>first</code>"</a>

           <li><a href="structured.html#link-type18"><span class="secno">4.12.3.19.2.
            </span>Link type "<code>last</code>"</a>

           <li><a href="structured.html#link-type19"><span class="secno">4.12.3.19.3.
            </span>Link type "<code>next</code>"</a>

           <li><a href="structured.html#link-type20"><span class="secno">4.12.3.19.4.
            </span>Link type "<code>prev</code>"</a>
          </ul>

         <li><a href="structured.html#other0"><span class="secno">4.12.3.20. </span>Other link
          types</a>
        </ul>
      </ul>

     <li><a href="structured.html#interfaces"><span class="secno">4.13 </span>Interfaces for
      URI manipulation</a>
    </ul>

   <li><a href="editing.html#editing"><span class="secno">5. </span>Editing</a>
    <ul class="toc">
     <li><a href="editing.html#editing-intro"><span class="secno">5.1
      </span>Introduction</a>

     <li><a href="editing.html#contenteditable"><span class="secno">5.2 </span>The <code title="attr-contenteditable">contenteditable</code> attribute</a>
      <ul class="toc">
       <li><a href="editing.html#user-editing"><span class="secno">5.2.1 </span>User
        editing actions</a>

       <li><a href="editing.html#making"><span class="secno">5.2.2 </span>Making entire
        documents editable</a>
      </ul>

     <li><a href="editing.html#dnd"><span class="secno">5.3 </span>Drag and drop</a>
      <ul class="toc">
       <li><a href="editing.html#introduction4"><span class="secno">5.3.1
        </span>Introduction</a>

       <li><a href="editing.html#the-dragevent"><span class="secno">5.3.2 </span>The
        <code>DragEvent</code> and <code>DataTransfer</code> interfaces</a>

       <li><a href="editing.html#events1"><span class="secno">5.3.3 </span>Events fired
        during a drag-and-drop action</a>

       <li><a href="editing.html#drag-and-drop"><span class="secno">5.3.4
        </span>Drag-and-drop processing model</a>
        <ul class="toc">
         <li><a href="editing.html#when-the"><span class="secno">5.3.4.1. </span>When the
          drag-and-drop operation starts or ends in another document</a>

         <li><a href="editing.html#when-the0"><span class="secno">5.3.4.2. </span>When the
          drag-and-drop operation starts or ends in another application</a>
        </ul>

       <li><a href="editing.html#the-draggable"><span class="secno">5.3.5 </span>The
        <code>draggable</code> attribute</a>

       <li><a href="editing.html#copy-and"><span class="secno">5.3.6 </span>Copy and
        paste</a>
        <ul class="toc">
         <li><a href="editing.html#copy-to"><span class="secno">5.3.6.1. </span>Copy to
          clipboard</a>

         <li><a href="editing.html#cut-to"><span class="secno">5.3.6.2. </span>Cut to
          clipboard</a>

         <li><a href="editing.html#paste"><span class="secno">5.3.6.3. </span>Paste from
          clipboard</a>

         <li><a href="editing.html#paste0"><span class="secno">5.3.6.4. </span>Paste from
          selection</a>
        </ul>

       <li><a href="editing.html#security8"><span class="secno">5.3.7 </span>Security risks
        in the drag-and-drop model</a>
      </ul>

     <li><a href="editing.html#undo"><span class="secno">5.4 </span>Undo history</a>
      <ul class="toc">
       <li><a href="editing.html#the-undomanager"><span class="secno">5.4.1 </span>The
        <code>UndoManager</code> interface</a>

       <li><a href="editing.html#undo-moving"><span class="secno">5.4.2 </span>Undo: moving
        back in the undo transaction history</a>

       <li><a href="editing.html#redo-moving"><span class="secno">5.4.3 </span>Redo: moving
        forward in the undo transaction history</a>

       <li><a href="editing.html#the-undomanagerevent"><span class="secno">5.4.4 </span>The
        <code>UndoManagerEvent</code> interface and the <code title="event-undo">undo</code> and <code title="event-redo">redo</code>
        events</a>

       <li><a href="editing.html#implementation0"><span class="secno">5.4.5
        </span>Implementation notes</a>
      </ul>

     <li><a href="editing.html#selection"><span class="secno">5.5 </span>The text selection
      APIs</a>
      <ul class="toc">
       <li><a href="editing.html#documentSelection"><span class="secno">5.5.1 </span>APIs
        for the browsing context selection</a>

       <li><a href="editing.html#textFieldSelection"><span class="secno">5.5.2 </span>APIs
        for the text field selections</a>
      </ul>

     <li><a href="editing.html#command"><span class="secno">5.6 </span>Command APIs</a>
    </ul>

   <li><a href="comms.html#comms"><span class="secno">6. </span>Communication</a>
    <ul class="toc">
     <li><a href="comms.html#event1"><span class="secno">6.1 </span>Event definitions</a>
      

     <li><a href="comms.html#server-sent-events"><span class="secno">6.2
      </span>Server-sent DOM events</a>
      <ul class="toc">
       <li><a href="comms.html#the-remoteeventtarget"><span class="secno">6.2.1
        </span>The <code>RemoteEventTarget</code> interface</a>

       <li><a href="comms.html#connecting"><span class="secno">6.2.2 </span>Connecting to
        an event stream</a>

       <li><a href="comms.html#parsing1"><span class="secno">6.2.3 </span>Parsing an
        event stream</a>

       <li><a href="comms.html#event-stream-interpretation"><span class="secno">6.2.4
        </span>Interpreting an event stream</a>

       <li><a href="comms.html#notes"><span class="secno">6.2.5 </span>Notes</a>
      </ul>

     <li><a href="comms.html#network"><span class="secno">6.3 </span>Network
      connections</a>
      <ul class="toc">
       <li><a href="comms.html#network-intro"><span class="secno">6.3.1
        </span>Introduction</a>

       <li><a href="comms.html#the-connection"><span class="secno">6.3.2 </span>The
        <code>Connection</code> interface</a>

       <li><a href="comms.html#connection"><span class="secno">6.3.3 </span>Connection
        Events</a>

       <li><a href="comms.html#tcp-connections"><span class="secno">6.3.4 </span>TCP
        connections</a>

       <li><a href="comms.html#broadcast"><span class="secno">6.3.5 </span>Broadcast
        connections</a>
        <ul class="toc">
         <li><a href="comms.html#broadcasting"><span class="secno">6.3.5.1.
          </span>Broadcasting over TCP/IP</a>

         <li><a href="comms.html#bluetooth-broadcast"><span class="secno">6.3.5.2.
          </span>Broadcasting over Bluetooth</a>

         <li><a href="comms.html#irda-broadcast"><span class="secno">6.3.5.3.
          </span>Broadcasting over IrDA</a>
        </ul>

       <li><a href="comms.html#peer-to-peer"><span class="secno">6.3.6
        </span>Peer-to-peer connections</a>
        <ul class="toc">
         <li><a href="comms.html#peer-to-peer0"><span class="secno">6.3.6.1.
          </span>Peer-to-peer connections over TCP/IP</a>

         <li><a href="comms.html#bluetooth-peer"><span class="secno">6.3.6.2.
          </span>Peer-to-peer connections over Bluetooth</a>

         <li><a href="comms.html#irda-peer"><span class="secno">6.3.6.3.
          </span>Peer-to-peer connections over IrDA</a>
        </ul>

       <li><a href="comms.html#the-common"><span class="secno">6.3.7 </span>The common
        protocol for TCP-based connections</a>
        <ul class="toc">
         <li><a href="comms.html#clients"><span class="secno">6.3.7.1. </span>Clients
          connecting over TCP</a>

         <li><a href="comms.html#servers"><span class="secno">6.3.7.2. </span>Servers
          accepting connections over TCP</a>

         <li><a href="comms.html#sending"><span class="secno">6.3.7.3. </span>Sending and
          receiving data over TCP</a>
        </ul>

       <li><a href="comms.html#network-security"><span class="secno">6.3.8
        </span>Security</a>

       <li><a href="comms.html#network-other-specs"><span class="secno">6.3.9
        </span>Relationship to other standards</a>
      </ul>

     <li><a href="comms.html#crossDocumentMessages"><span class="secno">6.4
      </span>Cross-document messaging</a>
      <ul class="toc">
       <li><a href="comms.html#processing4"><span class="secno">6.4.1 </span>Processing
        model</a>
      </ul>
    </ul>

   <li><a href="repetition.html#repetition"><span class="secno">7. </span>Repetition
    templates</a>

   <li><a href="syntax.html#syntax"><span class="secno">8. </span>The HTML syntax</a>
    <ul class="toc">
     <li><a href="syntax.html#writing0"><span class="secno">8.1 </span>Writing HTML
      documents</a>
      <ul class="toc">
       <li><a href="syntax.html#the-doctype"><span class="secno">8.1.1 </span>The
        DOCTYPE</a>

       <li><a href="syntax.html#elements0"><span class="secno">8.1.2 </span>Elements</a>
        <ul class="toc">
         <li><a href="syntax.html#start"><span class="secno">8.1.2.1. </span>Start
          tags</a>

         <li><a href="syntax.html#end-tags"><span class="secno">8.1.2.2. </span>End
          tags</a>

         <li><a href="syntax.html#attributes1"><span class="secno">8.1.2.3.
          </span>Attributes</a>

         <li><a href="syntax.html#optional"><span class="secno">8.1.2.4. </span>Optional
          tags</a>

         <li><a href="syntax.html#element-restrictions"><span class="secno">8.1.2.5.
          </span>Restrictions on content models</a>

         <li><a href="syntax.html#cdata-rcdata-restrictions"><span class="secno">8.1.2.6.
          </span>Restrictions on the contents of CDATA and RCDATA
          elements</a>
        </ul>

       <li><a href="syntax.html#text0"><span class="secno">8.1.3 </span>Text</a>
        <ul class="toc">
         <li><a href="syntax.html#newlines"><span class="secno">8.1.3.1.
          </span>Newlines</a>
        </ul>

       <li><a href="syntax.html#character"><span class="secno">8.1.4 </span>Character
        references</a>

       <li><a href="syntax.html#cdata"><span class="secno">8.1.5 </span>CDATA blocks</a>

       <li><a href="syntax.html#comments"><span class="secno">8.1.6 </span>Comments</a>
      </ul>

     <li><a href="parsing.html#parsing"><span class="secno">8.2 </span>Parsing HTML
      documents</a>
      <ul class="toc">
       <li><a href="parsing.html#overview"><span class="secno">8.2.1 </span>Overview of the
        parsing model</a>

       <li><a href="parsing.html#the-input0"><span class="secno">8.2.2 </span>The input
        stream</a>
        <ul class="toc">
         <li><a href="parsing.html#determining"><span class="secno">8.2.2.1.
          </span>Determining the character encoding</a>

         <li><a href="parsing.html#character0"><span class="secno">8.2.2.2.
          </span>Character encoding requirements</a>

         <li><a href="parsing.html#preprocessing"><span class="secno">8.2.2.3.
          </span>Preprocessing the input stream</a>

         <li><a href="parsing.html#changing"><span class="secno">8.2.2.4. </span>Changing
          the encoding while parsing</a>
        </ul>

       <li><a href="parsing.html#parse"><span class="secno">8.2.3 </span>Parse state</a>
        <ul class="toc">
         <li><a href="parsing.html#the-insertion"><span class="secno">8.2.3.1. </span>The
          insertion mode</a>

         <li><a href="parsing.html#the-stack"><span class="secno">8.2.3.2. </span>The stack
          of open elements</a>

         <li><a href="parsing.html#the-list"><span class="secno">8.2.3.3. </span>The list
          of active formatting elements</a>

         <li><a href="parsing.html#the-element"><span class="secno">8.2.3.4. </span>The
          element pointers</a>

         <li><a href="parsing.html#the-scripting"><span class="secno">8.2.3.5. </span>The
          scripting state</a>
        </ul>

       <li><a href="tokenisation.html#tokenisation"><span class="secno">8.2.4
        </span>Tokenisation</a>
        <ul class="toc">
         <li><a href="tokenisation.html#tokenising"><span class="secno">8.2.4.1.
          </span>Tokenising character references</a>
        </ul>

       <li><a href="tree-construction.html#tree-construction"><span class="secno">8.2.5 </span>Tree
        construction</a>
        <ul class="toc">
         <li><a href="tree-construction.html#creating"><span class="secno">8.2.5.1. </span>Creating
          and inserting elements</a>

         <li><a href="tree-construction.html#closing"><span class="secno">8.2.5.2. </span>Closing
          elements that have implied end tags</a>

         <li><a href="tree-construction.html#foster"><span class="secno">8.2.5.3. </span>Foster
          parenting</a>

         <li><a href="tree-construction.html#the-initial"><span class="secno">8.2.5.4. </span>The
          "initial" insertion mode</a>

         <li><a href="tree-construction.html#the-before"><span class="secno">8.2.5.5. </span>The
          "before html" insertion mode</a>

         <li><a href="tree-construction.html#the-before0"><span class="secno">8.2.5.6. </span>The
          "before head" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inhead"><span class="secno">8.2.5.7.
          </span>The "in head" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inheadnoscript"><span class="secno">8.2.5.8. </span>The "in head noscript" insertion
          mode</a>

         <li><a href="tree-construction.html#the-after"><span class="secno">8.2.5.9. </span>The
          "after head" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inbody"><span class="secno">8.2.5.10.
          </span>The "in body" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-intable"><span class="secno">8.2.5.11.
          </span>The "in table" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-incaption"><span class="secno">8.2.5.12.
          </span>The "in caption" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-incolgroup"><span class="secno">8.2.5.13.
          </span>The "in column group" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-intbody"><span class="secno">8.2.5.14.
          </span>The "in table body" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-intr"><span class="secno">8.2.5.15.
          </span>The "in row" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-intd"><span class="secno">8.2.5.16.
          </span>The "in cell" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inselect"><span class="secno">8.2.5.17.
          </span>The "in select" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inselectintable"><span class="secno">8.2.5.18. </span>The "in select in table" insertion
          mode</a>

         <li><a href="tree-construction.html#parsing-main-inforeign"><span class="secno">8.2.5.19.
          </span>The "in foreign content" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-afterbody"><span class="secno">8.2.5.20.
          </span>The "after body" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-inframeset"><span class="secno">8.2.5.21.
          </span>The "in frameset" insertion mode</a>

         <li><a href="tree-construction.html#parsing-main-afterframeset"><span class="secno">8.2.5.22. </span>The "after frameset" insertion
          mode</a>

         <li><a href="tree-construction.html#the-after0"><span class="secno">8.2.5.23. </span>The
          "after after body" insertion mode</a>

         <li><a href="tree-construction.html#the-after1"><span class="secno">8.2.5.24. </span>The
          "after after frameset" insertion mode</a>
        </ul>

       <li><a href="tree-construction.html#the-end"><span class="secno">8.2.6 </span>The end</a>
      </ul>

     <li><a href="tree-construction.html#namespaces"><span class="secno">8.3 </span>Namespaces</a>

     <li><a href="serializing.html#serializing"><span class="secno">8.4 </span>Serializing HTML
      fragments</a>

     <li><a href="serializing.html#parsing2"><span class="secno">8.5 </span>Parsing HTML
      fragments</a>

     <li><a href="named.html#named"><span class="secno">8.6 </span>Named character
      references</a>
    </ul>

   <li><a href="rendering.html#rendering"><span class="secno">9. </span>Rendering and
    user-agent behavior</a>
    <ul class="toc">
     <li><a href="rendering.html#rendering0"><span class="secno">9.1 </span>Rendering and the
      DOM</a>

     <li><a href="rendering.html#rendering1"><span class="secno">9.2 </span>Rendering and
      menus/toolbars</a>
      <ul class="toc">
       <li><a href="rendering.html#the-icon"><span class="secno">9.2.1 </span>The 'icon'
        property</a>
      </ul>

     <li><a href="rendering.html#obsolete"><span class="secno">9.3 </span>Obsolete elements,
      attributes, and APIs</a>
      <ul class="toc">
       <li><a href="rendering.html#the-body0"><span class="secno">9.3.1 </span>The
        <code>body</code> element</a>

       <li><a href="rendering.html#the-applet"><span class="secno">9.3.2 </span>The
        <code>applet</code> element</a>
      </ul>
    </ul>

   <li><a href="no.html#no"><span class="secno">10. </span>Things that you can't do
    with this specification because they are better handled using other
    technologies that are further described herein</a>
    <ul class="toc">
     <li><a href="no.html#localization"><span class="secno">10.1
      </span>Localization</a>

     <li><a href="no.html#declarative"><span class="secno">10.2 </span>Declarative 2D
      vector graphics and animation</a>

     <li><a href="no.html#declarative0"><span class="secno">10.3 </span>Declarative 3D
      scenes</a>

     <li><a href="no.html#timers"><span class="secno">10.4 </span>Timers</a>
    </ul>

   <li class="no-num"><a href="index.html#index">Index</a>

   <li class="no-num"><a href="references.html#references">References</a>

   <li class="no-num"><a href="acknowledgements.html#acknowledgements">Acknowledgements</a>
  </ul>
  <!--end-toc-->