HTML and CSS Reference
In-Depth Information
What the browser creates
Let's take a look at how the browser displays this HTML table. We'll warn you now:
this isn't going to be the
best-looking
table, but it
will
look like a table. We'll worry
about how it looks shortly; for now, let's make sure you've got the basics down.
We've got
three ro
ws total,
including
the headi
ngs…
Each <td>
is in
its own ce
ll…
…and eac
h <th> is i
n a cell
as well. I
t looks lik
e the
browser
displays he
adings
in bold b
y default.
…and
six colum
ns, just
wha
t we expec
ted.
Finishing typing in the “Testing Tony's Table” HTML from the previous page (we started
it in “table.html”, but you need to finish it). Typing this in, while tedious, will help get the
structure of the <table>, <tr>, <th>, and <td> tags in your head. When you finish, give it
a quick test, and then add the remaining items from Tony's table. Test that too.