Sorting tables?

liunx

Guest
I want to make a table for myself with a couple columns and be able to sort it by a particular column. How do I go about doing this?<!--content-->I'm not exactly sure what you are asking but.....<br />
<br />
as far as I know, you can not dynamically sort data of any type with just HTML code, it needs to be done with a combination of HTML (for the internet) and a script of some sort. If you just want to use HTML you would code a table and enter the data in the order you want.<br />
<br />
<br />
<table width=80% border=1><br />
<tr><br />
<td>Name</td><td>Age</td><td>Weight</td></tr><br />
<tr><br />
<td>Kevin</td><td>18</td><td>180</td></tr><br />
<td>Fraga</td><td>19</td><td>145</td></tr><br />
</table><br />
<br />
Kevin<!--content-->
 
Back
Top