The current code is...
<head> <title>Perl Monks Discussion</title> <!-- Theme 0: Web safe blue PerlMonks Theme --> <link rel="stylesheet" href="/css/common.css" type="text/css" /> <link rel="stylesheet" href="?node_id=204962" type="text/css" /> <!-- No CSS Link in User Settings --> <style type="text/css"> .inlinecode {color:#600;} .codeblock {color:#006;font-size:8pt;} </style> <link rel="icon" href="/favicon.ico" /> </head>
Valid code for DOCTYPE...
<head> <title>Perl Monks Discussion</title> <!-- Theme 0: Web safe blue PerlMonks Theme --> <link rel="stylesheet" href="/css/common.css" type="text/css"> <link rel="stylesheet" href="?node_id=204962" type="text/css"> <!-- No CSS Link in User Settings --> <style type="text/css"> .inlinecode {color:#600;} .codeblock {color:#006;font-size:8pt;} </style> <link rel="icon" href="/favicon.ico"> </head>
The difference is subtle, the / at the end of the <link> and <img> tags do not belong in DTD HTML 4.0 Transitional.
As an aside, can I please have the styles back in my profile. When I wrote it ages ago when styles were still allowed, it looked good, now it doesn't. So, pretty please with cookies!
In reply to For valid HTML by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |