CSS反轉字元加密郵箱地址_CSS/HTML

來源:互聯網
上載者:User
為了防止爬蟲軟體搜尋到你的Email地址,可以將Email倒著寫,然後使用樣式將其再正過來,代碼如下:
效果如下:
我的郵箱 moc.liamg@100yxuod
<style type="text/css"> .backwards {unicode-bidi:bidi-override; direction: rtl; color:#c00;} h2.email {color:#000; text-decoration:none; border:0; font-size:2em; font-weight:bold;} </style> <h2 class="email">我的郵箱 <span class="backwards">moc.liamg@100yxuod</span></h2>
[Ctrl+A 全選 注:如需引入外部Js需重新整理才能執行]
  • 相關文章

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.