Använder denna kod just nu för att "skydda" från spamrobotarna.
"document.write('<a href=\""mailto:' + 'info' + '@' + 'cyprys.com' + '\"">info' + '@' + 'cyprys.com' + '</a>');"
Denna blir tyvärr inte Xhtml-valid så jag tänkte höra vilket sätt man skulle kunna läsa detta på?
valideraren skrev:
Below are the results of attempting to parse this document with an SGML parser.
1.
Line 31, column 146: an attribute value must be a literal unless it contains only name characters .../javascript"\> document.write('\<a href=\\"mailto:' + 'info' + '@' + 'cyprys.com2.
Line 31, column 157: character "+" not allowed in attribute specification list ..."\> document.write('\<a href=\\"mailto:' + 'info' + '@' + 'cyprys.com' + '\\"\>inf3.
Line 31, column 157: document type does not allow element "a" here ..."\> document.write('\<a href=\\"mailto:' + 'info' + '@' + 'cyprys.com' + '\\"\>inf