Create an object and display its content in a table.
Create an object and display its content in a table. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Display Object in Table</title> <style> table { width: 50%; border-collapse: collapse; margin: 20px 0; } table, th, td { border: 1px solid black; } th, td { padding: 8px; text-align: left; } </style> </head> …
Create an object and display its content in a table. Read More »