How to Create an HTML Email Signature: A Step-by-Step Guide for a Professional, Branded Look
Updated for 2026 to reflect current email client behaviours and design best practices.
By Oliver Woods · Signature & Lettering Editor

Photo by Rodrigo Santos on Pexels
Updated for 2026 to reflect current email client behaviours and design best practices.
An HTML email signature is a branded block of code that delivers a polished layout instead of plain, forgettable text. It wraps your contact details, logo, and often a handwritten-style sign-off inside a tidy visual structure built with inline styles and a simple table-based framework.
Learning how to create an HTML email signature might sound intimidating, but it amounts to copying a few table tags—no computer science degree required. Your signature becomes a miniature web page that sits at the bottom of your emails, holding together reliably across desktop and mobile inboxes.
Realtors, photographers, consultants, solo founders—anyone sending business email gains from a signature that reinforces their personal brand and visual identity every time a message lands in an inbox. And no, you don’t need prior coding experience. This guide walks you through the design, the code, and exact installation steps for Gmail, Outlook, Apple Mail, and more.
What Is an HTML Email Signature and Why Does It Matter?
Every email turns into a branded touchpoint once you drop an HTML signature block below your message. It’s a mini web page—contact details, logo, maybe a scanned signature—held together by a simple table.
Because it leans on inline styles rather than external stylesheets, that code renders dependably in desktop and mobile clients alike. The practical upside: each reply or forward quietly shares your visual identity, keeping you memorable and professional without extra effort.
When a Plain Text Signature Falls Short
Consider a real estate agent sending 40 emails a day. A plain text sign-off with just a name and number blends into the noise. Add even a simple HTML signature with a headshot, logo, and tap-to-call phone link, and suddenly every message reinforces trust and accessibility. The inbox becomes a branding channel that works passively.
How Email Clients Actually Read Your Code
Email clients don't behave like browsers. Outlook uses Microsoft Word's rendering engine for HTML, which ignores modern CSS grid and flexbox entirely. Gmail strips anything inside <style> tags. Apple Mail supports the widest range of CSS properties but still blocks external stylesheets. Understanding this fragmentation explains why the table-and-inline-style approach persists: it's the lowest common denominator that renders predictably everywhere.
Define Your Visual Elements Before You Code
Why Handwritten and Branded Signatures Win
A signature becomes memorable when you make creative choices before touching any code. A handwritten signature file—scanned from pen on paper or drawn on a tablet—brings warmth and humanity that typed fonts can’t match. Your name in flowing calligraphy, maybe with a gentle flourish, signals authenticity and attention to detail right away.
Balance legibility with personality. Overly ornate scripts get hard to read on a phone; a minimalist, elegant loop with a few soft swoops feels both personal and crisp. Treat your signature like a tiny piece of your brand identity—it should feel unmistakably like you.
Your logo matters just as much. Reach for a vector format (SVG or a high‑resolution PNG) on a transparent background, so it blends into any email background without a visible seam. If your logo currently sits on a white box, remove that background first—the result instantly looks sharper and more professional.
Asset Checklist: What You Need Before Writing a Line of Code
| Asset | Recommended Format | Common Mistake |
|---|---|---|
| Handwritten signature | Transparent PNG, 300–400px wide | Using a low-light phone photo with shadows |
| Logo | SVG or transparent PNG, ~120px tall | Leaving a white background behind the logo |
| Brand colours | Hex codes noted in a scratch file | Eyedropping colours from a compressed JPEG |
| Font stack | System fonts only (Arial, Helvetica, Georgia) | Specifying custom web fonts that fail to load |
| Contact block | Name, title, phone, website, optional address | Including ten social icons and three disclaimers |
Restraint pays off here. A signature crammed with twelve social icons, a promotional banner, and three disclaimers feels cluttered. Focus on a tight handful of details and let your handwritten signature and logo carry the visual weight.
Two Columns or One?
If your logo and handwritten signature form a single visual unit, stack everything in one column. It survives mobile resizing without breaking. If your logo is compact and your contact details are short, a two-column layout with the image block on the left and text on the right creates a balanced, professional strip. When in doubt, start with a single column—it's the safer choice across email clients.
Write the HTML Structure from Scratch
A professional HTML signature needs little more than a neatly arranged table with a few styling rules. Here’s the scaffolding.
Start with a Table-Based Layout
Email clients—Outlook in particular—render tables far more faithfully than modern CSS layout tricks. Make your entire signature live inside a simple <table> structure.
If you've never written HTML tables before, start with this mental model: a table has rows (<tr>) and cells (<td>). Your signature is essentially one row containing one or two cells, and inside each cell you place images and text blocks.
Open a plain text editor and set up a basic table with one row. For a two-column layout, use two cells:
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<!-- Logo and signature image here -->
</td>
<td>
<!-- Text details here -->
</td>
</tr>
</table>
The cellpadding="0" and cellspacing="0" attributes prevent unwanted gaps that Outlook sometimes adds. The border="0" ensures no visible table lines appear.
Style Inline for Maximum Email Client Compatibility
Email clients strip out CSS tucked inside <head> tags. Every visual rule has to live directly on the HTML element as an inline style. Use the style attribute on your <td>, <p>, and <a> tags to set colours, fonts, and spacing.
A common mistake: people write a beautiful signature using a <style> block in the document head, test it in a browser where it looks perfect, then discover Gmail has stripped every bit of styling. Always use inline styles from the start.
Wrap each line in a paragraph or div and apply inline CSS:
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333333; margin: 0;">
Your Name
</p>
For links, keep styling consistent with your brand colours and remove the default underline if it looks cleaner:
<a href="mailto:hello@example.com" style="color: #2b6cb0; text-decoration: none;">
hello@example.com
</a>
Adding Your Image and Text Elements
Insert your logo using an <img> tag with an absolute URL—this is non-negotiable. Images hosted locally on your hard drive will never load for recipients.
<img src="https://yourdomain.com/images/logo.png" alt="Your Logo" width="120" style="display: block; border: 0;" />
Always include descriptive alt text. When images are blocked—and some corporate email systems block all images by default—recipients still see your name instead of an empty box.
For your handwritten signature, use the same <img> approach with a transparent PNG, placing it just below the logo or aligned within its own table cell.
Add a subtle divider between your signature and the email body. A thin horizontal line built with a coloured border inside a <td> gives a clean visual break without requiring an extra image file:
<td style="border-bottom: 1px solid #cccccc; padding-bottom: 10px;">
Assemble the code, save the file as an .html document, open it in a browser to preview, and then copy the entire rendered block (Ctrl+A, Ctrl+C). You’ll use that during installation.
Install Your Signature on Major Email Clients
Getting your signature installed is straightforward once you know the right steps for each email client. Different platforms handle HTML a little differently, but reliable methods exist for all the major ones.
| Email Client | Direct HTML Code Paste? | Best Approach |
|---|---|---|
| Gmail (web) | No | Paste rendered signature from browser preview |
| Outlook (desktop) | Yes (via .htm file) | Place .htm file in Signatures folder and select it |
| Outlook on the web | No | Paste rendered signature or use rich‑text editor |
| Apple Mail (Mac) | No | Copy rendered signature from browser, paste into signature editor |
| Yahoo Mail, Thunderbird | Yes (file import) | Use settings to import an HTML file or paste rendered content |
How to Add HTML Signatures in Gmail
- Open the
.htmlfile you created in a browser (Chrome, Firefox, or Safari). - Select the entire signature area—logo, handwritten script, everything—and copy it (Ctrl+C / Cmd+C).
- In Gmail, click the gear icon > See all settings > Signature.
- Create a new signature and paste the copied content (Ctrl+V / Cmd+V) into the editing box.
- Scroll down and save. Compose a new email to preview how the signature looks.
Gmail may strip some inline styles and lightly compress images, so use sharp graphics and do a quick visual check. If your carefully styled divider disappears, try thickening its border value slightly.
How to Add HTML Signatures in Outlook (Desktop and Web)
Outlook for Windows (desktop):
Outlook reads .htm files directly, which gives you the most accurate rendering.
- Save your HTML code as
my-signature.htm. - Go to File > Options > Mail > Signatures.
- Click New, name your signature, then click Browse next to the editing box.
- Navigate to your saved
.htmfile and select it. The code previews instantly. - Assign the signature to new emails and replies, then click OK.
A consultant sends polished proposals from Outlook desktop and quick replies from Outlook on the web. With the .htm file loaded into the desktop app, the signature renders faithfully. For the web version, paste the rendered block and verify that images load using absolute URLs—Outlook on the web sometimes caches old image paths, so flush your browser cache if something looks stale.
How to Add HTML Signatures in Apple Mail (Mac)
- Open your HTML file in Safari and copy the entire signature block.
- In Mail, go to Mail > Preferences > Signatures.
- Select your email account in the left column, then click the + button.
- Click inside the signature preview pane and paste (Cmd+V).
- Rename the signature and drag it to the account.
Apple Mail embeds images with absolute URLs, so always use web‑hosted images. To apply the signature automatically, choose it from the dropdown in signature preferences.
How to Add HTML Signatures in Other Clients (Yahoo, Thunderbird)
Yahoo Mail: Open Settings > More Settings > Writing email > Signature. Toggle the signature on and paste the rendered HTML block from your browser. Basic styling works well; keep graphics compact for small screens.
Thunderbird: Save your .html file in a permanent location, go to Account Settings, select your email account, and check “Attach the signature from a file.” Browse to your .htm file. For reliable sharing, host images online rather than embedding local files.
Mobile Testing Checklist
On every platform, mobile limitations exist. Mobile apps often strip background colours, shrink font sizes, and hide large images. After installing, send yourself a test email and check on a phone:
- Phone number is large enough to tap with a thumb
- No horizontal scrolling needed
- Handwritten signature remains legible at 320 pixels wide
- Social icons have finger-friendly spacing
- Dark mode doesn't invert your logo into an unreadable mess
Troubleshoot Common Pitfalls in HTML Signatures
Even a well-built signature can break. A few quick checks spare you that panic.
Why Do Images Break and How Do You Fix Them?
Images failing to load is the most frequent support question around HTML signatures. The root cause is almost always one of three things.
Use a secure, public URL. Make sure your image link starts with https:// and the server allows hotlinking. Some hosting providers block direct image requests from external domains by default.
Check the file path after any site migration. If you moved the image after uploading, update the src in your code. Broken image URLs often happen when someone reorganises a media library and forgets the signature depends on a specific path.
Never use local file references. A path like C:\Users\You\logo.png will never display in a recipient’s inbox—stick with web‑hosted images. This mistake is common among first-time signature builders who test locally and see the image, then assume it will work for everyone.
My Signature Looks Perfect on Desktop but Ruined on Mobile
Mobile email apps apply their own rendering rules, often ignoring or overriding inline styles.
- Use a fixed but compact width: A table set to
width="300"fits most mobile screens comfortably. - Avoid oversized fonts: Keep
font-size: 14pxor15pxas a maximum. - Stack content naturally: Even without media queries, a two‑column layout often drops the right cell below the left on narrow viewports when the outer table has a sensible width.
- Provide a plain‑text fallback: Set a plain‑text signature in your email client that includes your name, title, and phone number so recipients always get the key information, even when images are blocked.
Copy‑Paste Destroys My Formatting
This happens when you paste raw HTML code into a rich-text editor that tries to interpret it. The fix depends on your client:
- Outlook desktop: Use the Browse method to import the
.htmfile instead of pasting into the editor. - Thunderbird: Select “Attach the signature from a file.”
- Gmail and Apple Mail: Paste the entire rendered signature from a browser rather than the code; the visual formatting transfers far more cleanly than raw tags.
When Should You Use a Manual HTML Signature vs. a Generator?
Hand‑coding a signature gives you full creative control, but it also hands you practical time sinks and email client inconsistencies. A layout that looks crisp in Apple Mail can misbehave in Outlook, forcing repeated testing and tweaking.
The Time Cost of Manual Coding
Consider a small business owner who needs signatures for five team members. Writing individual HTML files, testing across four email clients, and maintaining those files when someone changes their title or phone number adds up to hours of non-billable work. Multiply that by quarterly updates, and the DIY approach loses its appeal quickly.
When a Generator Makes More Sense
Neutral third‑party email signature generator tools can simplify that workflow. Most offer a drag‑and‑drop editor with pre‑built templates and handle automatic installation for Gmail, Outlook, and other platforms. You still end up with the same visual outcome—just without the manual code wrangling.
If you're building one personal signature and enjoy tinkering with code, the manual method gives you full control at zero cost. If you're managing signatures for a team, updating them regularly, or need consistent rendering across every client without testing, a generator saves measurable time.
| Situation | Best Choice |
|---|---|
| One personal signature, comfortable with basic HTML | Manual coding |
| Team of 3+, frequent updates, multiple clients to support | Generator tool |
| Need legal disclaimers that must never break | Generator with template enforcement |
| Want complete design freedom and zero subscription cost | Manual coding |
Design Tips for a Signature That Stands Out
Use a Handwritten or Script Style for Personal Warmth
A handwritten signature style turns a transactional email into a personal note. Even a simple scanned cursive stands out against a sea of digital fonts. If your handwriting feels messy, trace a deliberately slower, smoother version—the goal is approachability, not calligraphic perfection.
Keep the Colour Palette Tight to Your Brand
Pick two or three brand colours and apply them sparingly. Use one for your name, another for links, maybe a subtle background line. A consistent palette reinforces brand recognition without overwhelming the reader.
| Element | Colour Usage Recommendation |
|---|---|
| Name | Primary brand colour or dark neutral |
| Job title | Secondary brand colour or medium grey |
| Links (email, website) | Accent colour with clear contrast |
| Dividers or lines | Light neutral, barely visible |
Include a Professional Headshot Only If It Adds Value
A headshot builds trust for real estate agents, consultants, and creatives who depend on personal connection. If your industry doesn’t rely on face‑to‑face recognition, skip it—the image adds clutter and loading time. When you do include one, keep it small and circular, placed next to your handwritten signature for a natural, friendly feel.
Add One Quiet Call to Action
A subtle call to action turns your signature into a quiet business tool. “Book a call” with a Calendly link, or “View recent work” pointing to a portfolio, gives interested recipients a natural next step. Keep it understated—a small line of text below your contact details, not a flashing banner.
Test on a Real Phone Before Calling It Done
Mobile readability is non‑negotiable. After installing your signature, send yourself a test email and open it on a phone. A clear visual hierarchy—bold name at the top, smaller details below—guides the eye naturally.
Frequently Asked Questions
How do I put HTML code in my email signature?
You paste the rendered HTML into your email client’s signature editor, or import the .htm file directly in clients like Outlook and Thunderbird. For Gmail and Apple Mail, open the HTML file in a browser first, select the entire signature block, copy it, and paste into the signature settings. This method preserves most inline styling and ensures web-hosted images load correctly for recipients.
How does someone create a digital signature for email?
A digital signature for email—often a scanned handwritten name—starts by signing a clean piece of paper in dark ink. Photograph or scan it with even lighting, then use any image editing tool to remove the background and save as a transparent PNG. Embed it into your HTML signature with an <img> tag pointing to a web-hosted URL, just like a logo. Avoid shadows and textured paper, which look unprofessional when isolated.
How to put HTML in Outlook email signature?
In Outlook desktop, save your code as a .htm file, go to File > Options > Mail > Signatures, create a new signature, and use the Browse option to select that file. In Outlook on the web, paste the rendered signature from a browser preview. Both methods require images to be web hosted to avoid broken visuals. Do not paste raw HTML code directly into the Outlook signature editor—it will display as text, not as a rendered signature.
What is an online editor for HTML email signature?
An online HTML editor is a browser‑based tool that lets you design your signature visually and exports clean HTML code. Most are drag‑and‑drop builders that require no coding; you arrange text, images, and social links, apply brand colours, and then download the code or install the signature directly into your email client. This approach is a faster alternative to writing every line by hand, especially when you need to maintain consistent signatures across a team.
Why do my images disappear when I send the email?
Images disappear because the recipient's email client blocks external content by default, or because the image URL is broken, uses HTTP instead of HTTPS, or points to a server that doesn't allow hotlinking. Always host images on a secure, public server and test the URL by opening it in an incognito browser window. If you can't see the image there, your recipients won't see it either.
Email Signature Generator
Type, handwrite or draw your signature — free, in your browser.
Tells Google to show you more from signaturelogo.co in AI, Search and Discover.

