COS-Pages-Editor

Can I use "thead", "th", and "tbody" tags in HubSpot?

Last updated: October 26, 2016

Available For:

Product: HubSpot Marketing
Subscription: Basic, Professional, & Enterprise

The HTML processing which HubSpot applies to enable our advanced features is not compatible with <thead>, <th>, and <tbody> HTML elements in the source code of pages and emails.

Instead, it is recommended to use <tr> and <td> HTML elements as appropriate. Please refer to the below example.

Before:

<table>
<thead>
<tr>
<th>Upcoming events</th>
</tr>
</thead>
<tbody>
<tr>
<td>HubSpot User Group</td>
</tr>
</tbody>
</table>

After:

<table>
<tr>
<td>Upcoming events</td>
</tr>
<tr>
<td>HubSpot User Group</td>
</tr>
</table>

Some element styles may have to be updated to achieve the design you are going for after you remove any instances of <thead>, <th>, and <tbody>.