# Encoded Email

Sometimes you want to put an email in your web pages and website footer, but exposing it directly to bots is just horriffic.&#x20;

## Usage Notes

Pick any link element which you want to display an email address in.

* Set it to a link of type email
* Take the email you want to use, and encode it using the tool below
* Paste the encoded email in as the email you want message sent to
* If you want to visually display the email as the link text, paste the encoded email as the link text as well
* Add the custom attribute of `wfu-email-encoded` to the link element&#x20;

That's it. The published page will contain an unrecognizable email address in it.  SA5 will then decode and display it once the library runs.&#x20;

You can use other standard features as well like email subject.&#x20;

## Encoding Tool

Use this Codepen to do the encoding; it will return a garbled-looking email but that is the same length as your original email ( for formatting purposes ).&#x20;

{% embed url="<https://codepen.io/memetican/pen/WNqbaXp/34ff9018620476b83f8b1869e2989134>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-html/encoded-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
