Friday, April 1, 2011

ံHTML for Tables

For no:1 Table

Row 1 Cell 1Row 1 Cell 2
Row 2 Cell 1Row 2 Cell 2

အဲ႔လိုလုပ္ခ်င္တယ္ဆို ကုတ္က


<table border="1"bgcolor="rgb(0,255,0)">
<tr><td>Row 1 Cell 1</td><td>Row 1 Cell 2</td></tr>
<tr><td>Row 2 Cell 1</td><td>Row 2 Cell 2</td></tr>
</table>


For no:2 Table

Column 1Column 2Column 3
Row 1 Cell 1Row 1 Cell 2Row 1 Cell 3
Row 2 Cell 2Row 2 Cell 3
Row 3 Cell 1

အဲ႔လိုလုပ္ခ်င္တယ္ဆို ကုတ္က


<table border="1"bgcolor="rgb(0,255,0)"> 
 <tr> <th>Column 1</th>
 <th>Column 2</th> 
<th>Column 3</th> </tr> 
<tr><td rowspan="2">Row 1 Cell 1</td> 
<td>Row 1 Cell 2</td><td>Row 1 Cell 3</td></tr> 
<tr><td>Row 2 Cell 2</td><td>Row 2 Cell 3</td></tr> 
<tr><td colspan="3">Row 3 Cell 1</td></tr> 
</table> 

For no:3 Table


Column 1Column 2
Row 1 Cell 1Row 1 Cell 2
Row 2 Cell 1Row 2 Cell 2



အဲ႔လိုလုပ္ခ်င္တယ္ဆို ကုတ္က
<table border="1" cellspacing="10"bgcolor="rgb(0,255,0)">
<tr>
<th>Column 1</th>
 <th>Column 2</th> 
</tr>
 <tr><td>Row 1 Cell 1</td><td>Row 1 Cell 2</td></tr> 
<tr><td>Row 2 Cell 1</td><td>Row 2 Cell 2</td></tr> </table>

For no:3 Table


Column 1Column 2
Row 1 Cell 1Row 1 Cell 2
Row 2 Cell 1Row 2 Cell 2


အဲ႔လိုလုပ္ခ်င္တယ္ဆို ကုတ္က

<table border="1" cellpadding="10"
 bgcolor="rgb(0,255,0)"> 
<tr> 
<th>Column 1</th> 
<th>Column 2</th>
 </tr> 
<tr><td>Row 1 Cell 1</td>
<td>Row 1 Cell 2</td></tr> 
<tr><td>Row 2 Cell 1</td>
<td>Row 2 Cell 2</td></tr> </table>
ကာလာက bgcolcou="rgb(0,255,0)"> ဆိုတဲ႔ေနရာမွာ ေျပာင္းလို႔ရပါတယ္။
 table border ကေတာ႔ ဇယားအရြယ္အစားပါ ။
သူငယ္ခ်င္းမ်ား အားလံုး စိတ္ခ်မ္းသာပါေစ..