var name = "brian";
var domain = "sweenster.co.uk";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
this works fine, but whenever I try to validate my code it fails - because of the language attribute and the fact that i'm printing HTML tags.
How would I fix this??
I have tried removing, changing & manipultaing both but with no success.