Line 68: | Line 68: | ||
+ | table { | ||
+ | font-family: arial, sans-serif; | ||
+ | border-collapse: collapse; | ||
+ | width: 100%; | ||
+ | } | ||
+ | td, th { | ||
+ | border: 1px solid #dddddd; | ||
+ | text-align: center; | ||
+ | padding: 25px; | ||
+ | } | ||
+ | |||
+ | tr:nth-child(even) { | ||
+ | background-color: #dddddd; | ||
+ | } | ||
</style> | </style> | ||
Line 76: | Line 90: | ||
<body> | <body> | ||
− | + | <table> | |
+ | <tr> | ||
+ | <th>Company</th> | ||
+ | <th>Country</th> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>Ernst Handel</td> | ||
+ | <td>Roland Mendel</td> | ||
+ | |||
+ | <tr> | ||
+ | <td>Island Trading</td> | ||
+ | <td>Helen Bennett</td> | ||
+ | |||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Laughing Bacchus Winecellars</td> | ||
+ | <td>Yoshi Tannamuri</td> | ||
+ | |||
+ | </tr> | ||
+ | |||
+ | </table> | ||
Revision as of 23:03, 17 October 2018
Company | Country |
---|---|
Ernst Handel | Roland Mendel |
Island Trading | Helen Bennett |
Laughing Bacchus Winecellars | Yoshi Tannamuri |