HTML Anchor Links Inside Email

Client support matrix for anchor links in HTML email and why some apps ignore or break them.

Aug 10, 2017 · 1 min read · 127 Words · -Views -Comments · Programming
HTML 🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

Marketing newsletters often look like web pages—these are HTML emails, a subset of HTML. Whether a feature works depends on the mail client, much like browser compatibility on the web.

A teammate recently built an email template with anchors linking to sections of the message. Android mail clients handled the anchors, but Apple’s Mail app on iOS ignored them, and QQ Mail on iOS rewrote the link into a local file-system path—clearly a compatibility issue.

HTML Anchor
QQ mail

Client support

Email clientAnchor support
Gmail (Web)YES
Gmail (Android)YES
Inbox by Gmail (Android)YES
Gmail (iOS)NO
Apple Mail (iOS)NO
Apple Mail (macOS)YES
Yahoo! Mail (Web)YES
Outlook.com (Web)NO
Outlook (Android)NO
Outlook (Windows desktop)YES
Outlook (macOS)NO
QQ Mail (iOS)NO

References

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover