HTML Email Frameworks

Was working on some email templates this weekend. Crazy how many hacks are still needed for email to work well across clients!

I'm using the Zurb Foundation framework for this and other projects. Also came across the MJML project. Might try that next time.

Both have markup that allow you to write the HTML with simplified tags. Those really help! Zurbs is call Inky. And, I think, MJML is built into the project.

For example, a button:

<button href="#">Button</button>

Turns into:

  <table class="button">
    <tbody>
      <tr>
        <td>
          <table>
            <tbody>
              <tr>
                <td><a href="#">Button</a></td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>

Subscribe to WebDev news from candland.net

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe