If even the most basic HTML guides assume you know things you've never heard of, this is where you should start.

I have a list of companies that would like to host your website. Please Visit that list. Thanks.


introduction
very basic information
what is important, and what doesn't matter
the basic page
HEAD and BODY
HTML Tags
META Tags
backgrounds - colors
backgrounds - images
pictures
links
pictures as links
email links
tables part 1
tables part 2
lining things up
frames part 1
frames part 2
frames part 3
what tools to use
putting it all together
making search engines love you
viewing your page as you work
making your page pay for itself
page counters
resources
how do they do that?
being sure it's right before you go public
my links
my sponsors
What NOT to do

Tables Part 1

The table is a nice way of laying out your page in rows and columns.

The most basic table has 1 row, and 1 column.

<TABLE BORDER=1>
  <TR>
    <TD>
       hello
    </TD>
  </TR>
</TABLE>

hello


I used "border=1" so the border would be visible. In most cases we don't want the border to show when the page is finished, but I find it helpful to keep it visible while I'm working on the page so I can figure out why it doesn't look the way I intended. You can leave out the "border=1" or change it to "border=0" if you don't want a visible border.

The table always begins with a table tag, followed immediately by a table row (tr) tag. and then a table data (td) tag. If we want to have 2 columns in our table, we would do it as follows:

<TABLE BORDER=1>
  <TR>
    <TD>
       hello
    </TD>
    <TD>
       how are you?
    </TD>
  </TR>
</TABLE>
hello how are you?


Everything within the tr (table row) tags makes up the first row of the table. We could make a second row under the first, by making a second tr tag and putting td (table data) tags inside it.

You have to be careful with tables. If you make a tiny mistake in one part of a table, it may show up as a strange display on a far different part of the table, or even on a different part of the page.




I have a list of companies that would like to host your website. Please Visit that list. Thanks.




BuyACar     Get paid to express your opinion    Free stuff    Accept credit cards on your website    Website hosts    HTML for beginners    Advertising on your website     Privacy statement