Library tutorials & articles
Creating tables in HTML
- Introduction
- First of all
- Table headings
- Table controls
- Advanced tables
- Conclusion
Table headings
Table headings, make any item in the table align in the center of it's box and make it bold, saving a lot of HTML tags. Table headings, or <TH>, simplt replace the <TD> tags in the code for any item.
<TABLE BORDER>
<TR>
<TH> ITEM 1 </TH>
<TD> ITEM 2 </TD>
</TR>
<TR>
<TD> ITEM 3 </TD>
<TH> ITEM 4 </TH>
</TR>
<TABLE>
| Item 1 | Item 2 |
|---|---|
| Item 3 | Item 4 |
This technique is really simple but if used correctly can be really good. The effect stands out more if the table is wider, which I will cover next.
Related articles
Related podcasts
-
Top Web Design Mistakes
Pete LePage is Product Manager of Internet Explorer Developer Division and he doesn’t want your web site to stink. Sharing from his talk given at TechEd 2008, Pete highlights 10 common web design mistakes and tells you how you can bypass the same blunders. Pete also tells us how future features o...
Events coming up
-
Dec
8
Web Design World
Boston, United States
Join your colleagues and top experts in the Web field as Web Design World returns to Boston December 8-10, 2008 for three dynamic days of information, interaction, insight and inspiration.
ei dude i learned a lot from ur tutorial... i don't wanna admit it but... i still don't have an idea of making html...
nice dude
This thread is for discussions of Creating tables in HTML.