Parse error when I validate

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

to remove all ads.
  1. gabi

    gabi New Member


    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"
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="demo.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src=""></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 });



    <div id="main_wrapper">
    <div id="header_wrapper">
    <div id="logo_wrapper">
    <div id="header_logo">
    <div id="logo"></div>
    <div id="nav">
    <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>
    <!-- header_logo end -->
    <!-- logo_wrapper -->
    <!-- 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' >
    <!-- coin_slider end -->
    <!-- coin_slider_container_end -->
    <!-- content_body end -->
    <!-- content end -->
    <!-- content_wrapper end -->
    <!-- main wrapper end -->

    <!-- Analytics Code -->
    <script type="text/javascript" src=""></script>
    <noscript><a href=""><img src="" alt="web hosting" /></a></noscript>
    <!-- End Of Analytics Code -->

  2. viper94x

    viper94x New Member

    Change the whole doctype into <!DOCTYPE HTML>.

Share This Page