¿Cómo puedes agregar un encabezado a esta tabla?
<table> <tr> <td>Producto</td> <td>Precio</td> </tr> </table>
Reemplazando <tr> por <th>
<tr>
<th>
Reemplazando <tr> por <thead>
<thead>
Añadiendo type="header" a la etiqueta <tr>
type="header"
Reemplazando <td> por <th>
<td>