Prev Demo
Table With Vertical Alignment
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <style> table, td, th { border: 1px solid black; } table { border-collapse: collapse; width: 50%; } td { height: 50px; } </style> </head> <body> <h2>Table with vertical alignment</h2> <table> <tr> <th>SNITFUNDA</th> <th>MICROSOFT</th> <th>GOOGLE</th> </tr> <tr> <td style="vertical-align:top">SHEO NARAYAN</td> <td style="vertical-align:bottom">SATHYA NADELLA</td> <td style="vertical-align:top">SUNDAR PICTHAI</td> </tr> </table> </body> </html>
Note: We DO NOT save your trial code in our database.
Output