Search In This Website

Rabu, 13 Desember 2023

HTML Table Example

In this following HTML code is example for HTML table:

Example 1 — Table with a single header row

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head><title>Table With A Single Header Row</title></head>
  4. <body>
  5. <table>
  6. <tr>
  7. <th>Player</th>
  8. <th>Team</th>
  9. </tr>
  10. <tr>
  11. <td>BabeRuth</td>
  12. <td>NewYorkYankees</td>
  13. </tr>
  14. </table>
  15. </body>
  16. </html>
result of HTML table



web programming, web developing, html, hypertext markup language, source code, internet programming

Bibliography:

  • https://codecademy.com/
  • http://kb.daisy.org/
  • https://w3schools.com/

Related Post:

Tidak ada komentar:

Posting Komentar