I encode the characters as HTML entities (something like this). It doesn’t require JS to be enabled and seems to have stopped most of the spam. I suppose a smart bot might still harvest it, but I haven’t had any problems.
More Related Contents:
- how do i submit message to my email by html or js?
- HTML email with Javascript [closed]
- Sending mail from HTML page with image in the body
- How to display an chage photo option on mouse hover similar to linkedin using Javascript? [closed]
- How to force browser to show image 3 inches wide?
- HTML Form Submit pass array to PHP [closed]
- Add/Remove Class of Nav Objects on Page Scroll
- How can I select an element by name with jQuery?
- Executing injected by innerHTML after AJAX call
- jQuery disable/enable submit button
- Resize HTML5 canvas to fit window
- Why split the tag when writing it with document.write()?
- How to resolve the C:\fakepath?
- Cache busting via params
- Client Checking file size using HTML5?
- Convert binary data to base64 with javascript
- Detecting that the browser has no mouse and is touch-only
- Set keyboard focus to a
- Javascript regex returning true.. then false.. then true.. etc [duplicate]
- How Do I Stop My Web Content From Shifting Left When The Vertical Scrollbar Appears? Roll-Up of Advice 2017 [duplicate]
- How to detect when history.pushState and history.replaceState are used? [duplicate]
- How to prevent html/JavaScript code modification
- Detect browser wrapped lines via javascript
- Multiple read more / read less sections are not working on a page
- HTML5 Dynamically create Canvas
- Drawing lines on html page
- Measuring text width/height without rendering
- Polymer 1.0 Global Variables
- How to access css properties in javascript when applied via external CSS file?
- How to clear radio button in Javascript?