Home
HTML
HTML Table
Example 2: HTML Table
Run ❯❯
<!DOCTYPE html> <html> <head> <title>Table tr Example</title> <style> table, td { border:1px solid black; } </style> <head> </head> <body> <h1>Table tr Example</h1> <table> <tr> <td>Microsoft</td> <td>Google</td> <td>Twitter</td> <td>Facebook</td> </tr> <tr> <td>Intel</td> <td>Tesla</td> <td>Motorola</td> <td>Samsung</td> </tr> </table> <p>Notice that one tr element has created one row in a table.</p> </body> </html>