Code snippets

Email munging

Automatic Email Munger

Try the Automatic Email Munger which turns all characters into their html character code equivalents.

Javascript solutions

This piece of Javascript, inserted into the approptriate place

<script type="text/javascript"><!--
var ady = ''
ady += 'whatever'
ady += '@'
ady += 'yourdomain'
ady += '.name.tld'
var mtext = '' mtext += '<a href="mai'
mtext += 'lto:'
mtext += ady
mtext += '">'
mtext += ady
mtext += '</a>'
document.write(mtext)
//-->
</script>
<noscript>email (munged): enquiries at whatever[at]yourdomain[remove this]dot name dot tld</noscript>

Structural Mark-up

Doctype Declarations

These are the root declarations.

Doctypes declarations for XHTML documents

For XHTML strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

For XHTML transitional:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

For XHTML frameset:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Doctypes declarations forfor HTML documents

For HTML strict:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

For HTML transitional (or loose):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

For HTML frameset:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

This list was lifted from an original page at Cookwood Press — Elizabeth Castro site.