Author: gporras | Posted on: 1/13/2009 5:05:09 PM | Views : 235

Hello...
I have a page in VS2008. I need it to validate as html 4.01 with http://validator.w3.org/.
In my web.config I added <xhtmlConformance mode="Legacy"/>

And I have a head like this:

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

<html lang="en">
    
    <head>
        <title>my page</title>
        <meta name="description" content="bla bla bla">
        <meta name="robots" content="All">
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="stylesheet" href="mystyles.css ...

Go to the complete details ...