HTML and CSS Reference
In-Depth Information
Table 1.2
(continued)
Continued Tags
Description
<sub>
Subscripted text
<sup>
Superscripted text
<table>
A table defi nition
<tbody>
Demarcation for a block of rows for a table's body
<td>
A table cell
<textarea>
A text area container
<tfoot>
Representation for a block of rows of column summaries for a table
<th>
Table header format
<thead>
Representation of a block of rows of column summaries for a table header
<title>
The document title
<tr>
Demarcation of a table row
<ul>
An unordered list (a bullet list)
<var>
Variable style in formula
14
Most of the elements with the same names from HTML4 are the same in every way in
HTML5, but some have slightly modii ed meanings. Also, rules for some tags have changed.
For example, in creating tables, the tag for specifying a row <tr> no longer requires a closing
</tr> tag. Some attributes for elements have changed as well. As you continue to learn about
the new features of HTML5, you'll i nd that many of the “old” elements have lots of new
characteristics. h e following HTML table script provides a new example with old elements.
Enter this text into your text editor, save it as NewOldTable.html , and open it in an Opera
browser.
<! DOCTYPE HTML >
< html >
< head >
< meta http-equiv = ”Content-Type” content = ”text/html; charset=UTF-8” >
< title > Table </ title >
</ head >
< body >
< table >
< caption >
=Element Types=
</ caption >
< thead >
Search WWH ::




Custom Search