How to display emails on websites to avoid spam

Plenty of solutions here:

Solution I use

in <head>:

<style type="text/css">
        .e-mail:before {
            content: attr(data-website) "\0040" attr(data-user);
            unicode-bidi: bidi-override;
            direction: rtl;
        }
    </style>

in <body>:

<p>Email me at <span class="e-mail" data-user="cin" data-website="ue.selasbotb"></span></p>

Note that the script reverses the string so user and domain name need to be filled out in reverse.

links

social