H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch Portuguese Japanese தமிழ்
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback





Creating HTML Table - Help


Topic

Creating html tables!



Explanation

Table is most beautiful concept in html.
Now a days, most of the websites are created using table structure.
The concept of table is very simple, just rows and columns.
We will split the window in to so many number of rows and columns as required.


Table
This tag can not act alone. It needs "tr" and "td" tags with in it.
Example Code:
<table> </table>
As we know that table is a set of rows and columns, we introduce rows inside the table using <tr> </tr>. Also each row can have any number of columns. one to n..., so we introduce columns inside the rows using the tags <td> </td>

So putting things together we define a table with a row and column as follows

Code:
<table>
<tr>
<td> This is first column
</td>
</tr>
</table>

Result:
The result for above tag will be as
This is first column



Now we will create a table with one row and two columns

Code:
<table>
<tr>
<td>
This is first column
</td>

<td>
This is second column
</td>
</tr>
</table>

Result:
The result for above tag will be as
This is first column This is second column




privacy policy     license     sitemap
© 2004-2010 HIOX INDIA

Other Links