Learn how to create and embed HTML in Gmail, macOS Mail, and Thunderbird.
Other options includeNotepad++,NetBeans,CoffeeCup, andKomodo Edit.
Write your email in an HTML editor.
TimeStopper / Getty Images
Be sure to use full paths, including URLs to any external files.
launch the HTML file in aweb web client.
PressCtrl+C(Windows) orCmd+C(Mac) to copy the entire page contents.
In Gmail or Mac Mail, start a new message.
Paste the page contents copied above into the message body usingCtrl+VorCmd+V.
They’re difficult to fix without repeating the previous steps.
Select all of the HTML code usingCtrl+A(Windows) orCmd+A(Mac).
Copy your HTML code usingCtrl+CorCmd+A.
Open Thunderbird andWritea new message.
In the message menu, clickInsertand selectHTML.
When the HTML pop-up window appears, paste your HTML into the window by pressingCtrl+VorCmd+V.
ClickInsertand your HTML code will be inserted into your message.
Always use the full internet address for images and other resources you place in an HTML email.
This way, the recipient’s email client knows where to enter the content on the web.
Email clients may not support advanced features like Ajax, CSS, or HTML5.
If you’re using it to send emails to friends and family, ensure they can read HTML emails.