---
title: "Using HTML to Add Opt-In/Opt-Out Links in ELS/Emails"
slug: "using-html-to-add-optin-optout-links-in-els-emails"
updated: 2025-04-15T21:59:32Z
published: 2025-04-15T21:59:32Z
canonical: "docs.interprose.com/using-html-to-add-optin-optout-links-in-els-emails"
stale: true
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interprose.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Using HTML to Add Opt-In/Opt-Out Links in ELS/Emails
You can include HTML links in an email to give consumers the option to opt in or opt out of receiving messages.
When a consumer clicks either link, the action applies only to the email address that received the message.
#### Opt-in Link
The **opt-in** link allows the consumer to consent to receiving future messages at their email address:
```xml
Opt In
```
#### Opt-out Link
The **opt-out** link allows the consumer to unsubscribe from future messages at their email address:
```xml
Opt Out
```