Run ยป
<!DOCTYPE html> <html> <head> <style> table, td, th { border: 1px solid black; } table { border-collapse: collapse; width: 100%; } .bottom_align { height: 50px; vertical-align: bottom; } .top_align { height: 50px; vertical-align: top; } </style> </head> <body> <table> <tr> <th>Name</th> <th>Roll No</th> <th>City</th> </tr> <tr> <td class="bottom_align">Divya</td> <td class="bottom_align">001</td> <td class="bottom_align">Mumbai</td> </tr> <tr> <td class="top_align">Hritika</td> <td class="top_align">002</td> <td class="top_align">Pune</td> </tr> </table> </body> </html>