The custom HTML block lets you add custom HTML code directly to your emails. This is useful for advanced customization and adding elements unavailable through other blocks.
How It Works
Add the block by clicking the plus icon and selecting “Custom HTML”. You can:
- Write or paste HTML code
- Preview how it renders
- Switch between code and preview modes
- Edit code in full-width view
Email Client Compatibility
When using custom HTML, keep in mind:
- Email clients strip out JavaScript
- External stylesheets aren’t supported
- CSS support varies widely between clients
- Use inline styles for consistent rendering
- Some HTML5 elements aren’t supported
- Tables are often necessary for layout
Tips
- Test extensively across email clients
- Use tables for complex layouts
- Keep CSS inline
- Avoid JavaScript completely
- Use simple, well-supported HTML tags
- Consider mobile responsiveness
- Back up custom code before editing
Leave a Reply