Created
May 13, 2024 08:17
-
-
Save rusco/4c6d3cded12ed1dea9c4b1b41f59f9db to your computer and use it in GitHub Desktop.
svg email protection (https://rouninmedia.github.io/protecting-your-email-address-via-svg-instead-of-js/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en-GB"> | |
<head> | |
<meta charset="utf-8"> | |
<title>SVG Email Protection</title> | |
<style> | |
.svg-email-protection { | |
width: 180px; | |
height: 24px; | |
vertical-align: middle; | |
} | |
</style> | |
</head> | |
<body> | |
<p>This is my email: <object class="svg-email-protection" data="svg-email-protection.svg" type="image/svg+xml"></object></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment