

| HOME BASIC TUTORIAL What is Html? Sample Web Page Basic Tags Character Entities Html Links Frames Tables Lists Forms Images Backgrounds APPENDIX Html Tag List | Tables The <table> tag creates a table. A table is divided into rows using the <tr> tag and each row is divided into individual data cells using the <td> tag (td stands for table data). A data cell can contain practically anything.
The html above would look something like this:
If you do not add the border attribute, the table will automatically be displayed without any borders. This is good in some cases, but most of the time you should use the border attribute. You can also use the <th> tag to define a heading in a table. Just put the tag in place of the <td> tag. If you want to create a data cell with nothing in it, you should use a non-breaking space ( ) as the content of the data cell. Other wise, the data cell would not be displayed very well on most browsers. To learn how to create lists, click on next. |
Much of what I learned to create this tutorial I found on www.w3schools.com.
Back to Top
Lewisville Middle School-2003