<!DOCTYPE ... > / <html> / <head> / <title> / <body>
Page header information. Stripped/commented-out/disabled in e-mail. Required on all (X)HTML pages.
Usage:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>
<head>
<title>This will be ignored but is still required. Go figure.</title>
</head>
<body>
...
</body>
</html>
Best Practice Example:
Actually, there is no real best practice to apply to these tags, since they
are all either stripped away or transformed by the receiving mail client.
Minimalize your (X)HTML page headers (the example above is a good start).
Do not use <style> tags or anything else except
<title> in your header. <title> is an expected
item, even though the subject line in your e-mail always replaces this.
This reference was created for Innovyx by Steve Cartoon Q3 2007. All rights reversed.