Parse error when I validate

Discussion in 'Scripts' started by gabi, Feb 2, 2012.

to remove all ads.
  1. gabi

    gabi New Member

    Messages:
    13
    Hello!

    I validate my test site and I get this error:
    Parse Error Lexical error at line 2, column 3. Encountered: "D" (68), after : "<!"

    Can you tell me what is that, please. Thanks

    Here is my html:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>demo-index</title>
    <link href="demo.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="coin slider/coin-slider.min.js"></script>
    <link rel="stylesheet" href="coin slider/coin-slider-styles.css" type="text/css">
    <script type="text/javascript">
    $(document).ready(function() {

    $('#coin-slider').coinslider({ width: 910, navigation: true, delay: 5000, effect: 'random', hoverPause: false });
    });
    </script>

    </head>

    <body>

    <div id="main_wrapper">
    <div id="header_wrapper">
    <div id="logo_wrapper">
    <div id="header_logo">
    <div id="logo"></div>
    <div id="nav">
    <ul>
    <li><a href="#">pońćetna</a></li>
    <li><a href="#">o nama</a></li>
    <li><a href="#">galerije</a></li>
    <li><a href="#">reference</a></li>
    <li><a href="#">gdje smo</a></li>
    </ul>
    </div>
    </div>
    <!-- header_logo end -->
    </div>
    <!-- logo_wrapper -->
    </div>
    <!-- header_wrapper end -->

    <div id="content_wrapper">
    <div id="content">
    <div id="shadow">
    <div id="content_body">
    <div id="coin_slider_container">
    <div id='coin-slider'>
    <img src='img/images/jakotic.jpg' alt="" />
    <img src='img/images/policija.jpg' alt="" />
    <img src='img/images/printer.jpg' alt="" />
    <img src='img/images/pulic.jpg' >
    <img src='img/images/radnik.jpg' >
    <img src='img/images/tapete.jpg' >
    <img src='img/images/kamion.jpg' >
    </div>
    <!-- coin_slider end -->
    </div>
    <!-- coin_slider_container_end -->
    </div>
    </div>
    <!-- content_body end -->
    </div>
    <!-- content end -->
    </div>
    <!-- content_wrapper end -->
    </div>
    <!-- main wrapper end -->
    </body>
    </html>





    <!-- www.000webhost.com Analytics Code -->
    <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
    <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
    <!-- End Of Analytics Code -->


    Thanks
     
  2. viper94x

    viper94x New Member

    Messages:
    9
    Change the whole doctype into <!DOCTYPE HTML>.
     

Share This Page