Home
HTML
HTML Table
Example 4: HTML Table
Run ❯❯
<!DOCTYPE html> <html> <head> <title>A Link and Image in td Element</title> <style> table, td { border:1px solid black; } </style> <head> </head> <body> <h1>A Link and Image in td Element</h1> <table> <tr> <td><a href="https://www.google.com/intl/en_in/chrome/">Google Chrome</a></td> <td><img src="chromelogo.png" alt="Chrome Logo"></td> </tr> </table> <p>First td element contains a link element. Second td element contains an image element.</p> </body> </html>