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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: For valid HTML
by rowdog (Curate) on Apr 04, 2010 at 22:52 UTC | |
by ikegami (Patriarch) on Apr 04, 2010 at 23:46 UTC | |
by JavaFan (Canon) on Apr 05, 2010 at 20:59 UTC | |
by ikegami (Patriarch) on Apr 05, 2010 at 22:13 UTC | |
by rowdog (Curate) on Apr 06, 2010 at 04:40 UTC | |
by ikegami (Patriarch) on Apr 06, 2010 at 05:35 UTC | |
by rowdog (Curate) on Apr 06, 2010 at 22:18 UTC | |
| |
|
Re: For valid HTML
by jdporter (Paladin) on Apr 09, 2010 at 13:36 UTC | |
by tye (Sage) on Apr 09, 2010 at 13:59 UTC | |
by jdporter (Paladin) on Apr 09, 2010 at 18:58 UTC | |
by Lady_Aleena (Priest) on Apr 11, 2010 at 04:52 UTC |