TD vs TH in Marketo Email Templates | Community
Skip to main content
Jordan_Bergeso1
Level 1
August 27, 2019
Question

TD vs TH in Marketo Email Templates

  • August 27, 2019
  • 1 reply
  • 2275 views
Content backfill required
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Dave_Roberts
Level 10
August 29, 2019

Hey Jordan-

We use a mix of <th> and <td> for email with class-based CSS to help them stack for mobile and it seems to work out all right. I noticed in your HTML above, it looks like you've replaced ALL of your <td>'s with <th>'s and that might have something to do with the error you're seeing. 

I'm pretty sure you'll at very least need to use a <td> for the Container instead of a <th>. Here's a link to the Marketo Docs for Containers and Modules: Email Template Syntax - Marketo Docs - Product Documentation  -- it looks like <th> is not one of the valid elements. Try changing that <th> to a <td> and see if it at least resolves the error.

The way I think about using a <th> is usually more for columns (wrappers/containers) inside of a <tr> and then I'll usually use <td>'s inside of that with a nested table as-needed -- but can't think of a case off the top of my head where you'd see a <th> nested inside of another <th>.