TABLE - html
aggressivefree



�.��ǹ��Сͺ�ͧ���ҧ

����觤�� <table> ��лԴ���¡�� </table>
�������ö�������ҧ���ҧ�˭� �����ͧ��� ���� ����� �����
��ǹ��Сͺ�֡ŧ仢ͧ table �մѧ���
<tr> ��� table row
�繨ش������鹢ͧ���ҧ ���� ��.��� �� ����� <table> ��ͧ�� <tr> ��� �Դ�� </tr>
<td> ��� table data cell
��ǹ���͵�ǡ�˹� ����ѹ����ö ��˹��� ��� �ٻ�Ҿ ���˹ѧ��� ����з�� ���ҧ�ա�ѹ�֧ �Դ�� </td>
<th> ��� table header cell
����ҳ�������Ǣ�� ���� �ء���駷���͡�� ���˹ѧ��ͨ��� ���˹������»Դ���� </th>

�.���ҧ��鹰ҹ Ẻ ��ͧ�����

<table> ����Դ���ҧ ��ʹ��� <tr> �Դ table row ����յ�ʹ��ʹ��� <td> �� ��� �����Ź�蹡�ͤ�� data ����ͧ ����ҹ� table data �͢����Ũ���ͷ���ûԴ table data </td> ��ͨҡ��鹡�����Դ table row </tr> ��� �ش���¤�ͻԴ table </table>
��ŷ���͡�Ҩ��������͹���ҧ��������� ��Ҥ�á�˹� �ͧ��鹵��ҧ�� ��� boder ���� ����Ҩз���� ����բ�Ҵ 1
����觤�� <table border="1"> �����ѧ������ͧ����������� �������¹�� 0 <table border="0">
���������ͧ��Ǣ�͹��

<table border="1">
<tr>
<td>
������
</td>
</tr>
</table>

�ŷ����

������

����֡��ҡ�÷ӵ��ҧ�˭��ش��� 25 ��蹡�ͤ�� <table border="25"> �ټ� �� ������

������


�.���ҧẺ������ �����ª�ͧ

������������ <td> ���� ������ͧ��� ���ͧ�Դ��͹ ��� ���������ѹ���� ��
<table border="1">
<tr>
<td>im gus</td>
<td>��� ���</td>
<td>���� �Ѵ ���</td>
</tr>
</table>
�ŷ������

im gus ��� ��� ���� �Ѵ ���

*�ѧࡵ��� �͹��颹Ҵ�ͧ���ҧ����ҡѺ ������Ǣͧ���˹ѧ��� ����������ҹ� ����Ǩ�͸Ժ���Ըշӵ��ҧ�����ҡѹ�ա���Ѻ

�.��÷ӵ��ҧ�ҡ���� � ���

�ѹ�����Ҩ��Ҵٷ������ <tr> �����ѹ��͵�ǡ�˹� row ����˭�������ͧ�Ҵ١ѹ
�蹨з������ � ��� �������͹������ ��͹ 2 ��͹������ѹ���� <tr> �繵����
��
<table border="1">
<tr>
<td>im gus</td>
<td>��� ���</td>
<td>���� �Ѵ ���</td>
</tr>
<tr>
<td>�ѡ</td>
<td>�����</td>
<td>�����</td>
</tr>
</table>

�ŷ������

im gus ��� ��� ���� �Ѵ ���
�ѡ ����� �����


�.��÷���Ǣ��㹵��ҧ

��ͤ�͡���� <th> ����ͧ���ҧ���͸Ժ���㹵͹�������¹� <th> ����᷹ <td> 㹪�ͧ�����ҵ�ͧ��÷��������Ǣ�� ���� ���˹ҹ���ͧ
��
<table border="1">
<tr>
<th>hardcore band</th>
<th>rock band</th>
<th>japan singer</th>
</tr>
<td>limpbizkit</td>
<td>x-japan</td>
<td>ami</td>
</tr>
<td>rage against</td>
<td>hide</td>
<td>namie</td>
</tr>
</table>

�ŷ������

hardcore band rock band japan singer
limpbizkit x-japan ami
rage against hide namie


�.��á�˹��������ҧ�ͧ���ҧ

�����¡����� width �����ѧ <table border> ������ %
�� <table border="6"width="60%">

�ŷ������
im gus ��� ��� ���� �Ѵ ���
�ѡ ����� �����


�٤���ᵡ��ҧ �����ҧ 60% �Ѻ 100%
<table border="6"width="100%">

�ŷ������
im gus ��� ��� ���� �Ѵ ���
�ѡ ����� �����




�.��á�˹� ��Ҵ���㹵��ҧ

��͡�á�˹���� <th> ����ͧ���Ͷ�� ���ҧ����������Ǣ�� ��͡�˹��Ѻ <td> ����� ���� width ��� �� % ����͹�ѹ ��
<table border="3" width="50%">
<tr>
<th width="44%">��Ǣ��</th>
<th width="90%">��Ǣ��</th>
<th width="15%">��Ǣ��</th>
</tr>
<tr>
<td>im gus</td>
<td>im gus</td>
<td>im gus</td>
</tr>
</table>

�ŷ������

��Ǣ�� ��Ǣ�� ��Ǣ��
im gus im gus im gus


�.��ͧ��ҧ�����ҧ���ҧ

���� ������¡�ѹ��� cellpadding ����ͧ ����������ѧ <table border="size">

�� <table border="3"cellpadding="20">
�ŷ������

��Ǣ�� ��Ǣ�� ��Ǣ��
im gus im gus im gus

��������� ����� cell padding ŧ� �������ҧ�ٴբ��

�.����˹Ңͧ ��鹵��ҧ

���� cellspacing ����������˹����ǡѺ cellpadding ����շ�� � ���ҧ����������͡ѹ�����
�� <table border="20"cellpadding="15"cellspacing="20">
�ŷ������

��Ǣ�� ��Ǣ�� ��Ǣ��
im gus im gus im gus


�o.����á�ٻ�Ҿ ��� �� ŧ㹵��ҧ

�������ٻ�Ҿ�᷹������ �Ը�����͹��ҧ�������������¡�ٻ <img src>
�� �ٻ���� gus.jpg ��е�ͧ������� ᴧŧ� 㹽�觵��˹ѧ������� bgcolor ����觤��
<table>
<tr>
<td><img src="gus.jpg"></td>
<td bgcolor="F0000F">�������ö��¹�繵��˹ѧ�����ç���</td>
</tr>
</table>

�ŷ������

�������ö��¹�繵��˹ѧ���
����

Hosted by www.Geocities.ws

1