Problem Line 22 column 6: document type does not allow element "title" here.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • garfy
    New Member
    • Nov 2006
    • 8

    Problem Line 22 column 6: document type does not allow element "title" here.

    Hi

    i get this error in validation

    Line 22 column 6: document type does not allow element "title" here.

    <title>Seo Web Design Los Angeles - Web Design And Search Engine Optimization L

    But the title is inside the head so why I am getting this?

    Here is the code

    <head>


    <!-- Start of StatCounter Code -->
    <script type="text/javascript" language="javas cript">
    var sc_project=1412 655;
    var sc_invisible=1;
    var sc_partition=11 ;
    var sc_security="f8 ae2f10";
    var sc_remove_link= 1;
    </script>

    <script type="text/javascript" language="javas cript" src="http://www.statcounter .com/counter/counter.js"></script><noscrip t><img src="http://c12.statcounter .com/counter.php?sc_ project=1412655 &java=0&securit y=f8ae2f10&invi sible=1" alt="php hit counter" border="0"> </noscript>
    <!-- End of StatCounter Code -->





    <script language="JavaS cript" src="http://www.seoandwebde sign.com/includes/js/joomla.javascri pt.js" type="text/javascript"></script>

    <title>Seo Web Design Los Angeles - Web Design And Search Engine Optimization Los Angeles</title>
    <meta name="title" content="Web Design And Search Engine Optimization Los Angeles" />
    <meta name="author" content="Admini strator" />
    <meta name="descripti on" content="Web Design: Los Angeles Website Design and Search Engine Optimization, Los Angeles web design and seo professional will optimize your site for higher rankings regarding to search engine optimization" />
    <meta name="keywords" content="reno, seo web design, cheap , affordable price, search engine optimization, web design,web design los angeles,web site design,

    Los Angeles web design, seo, web design, renoseowebdesig n.com, photoshop tutorials video, Los Angeles Web Design, Web Design Los Angeles, Los Angeles Web Site Design, Web Site Design Los Angeles, search engine optimization, seo, Los Angeles SEO" />
    <meta name="Generator " content="Joomla ! - Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved." />
    <meta name="robots" content="index, follow" />
    <base href="http://www.seoandwebde sign.com/" />
    <link rel="shortcut icon" href="http://www.seoandwebde sign.com/images/favicon.ico" />

    <link rel="stylesheet " type="text/css" href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/styles.css" />

    <!-- these two are required for transmenus to function -->

    <link rel="stylesheet " type="text/css" href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/transmenu.css" />
    <script type="text/javascript" language="javas cript" src="http://www.seoandwebde sign.com/templates/renoseowebdesig n/packed.js"></script>





    <script type="text/javascript" language="javas cript">
    //<![CDATA[
    function init() {
    if (TransMenu.isSu pported()) {
    TransMenu.initi alize();
    document.getEle mentById("mtm_h ome").onmouseov er = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_h ome").onmouseou t = function() { this.className = ""; }
    menu2.onactivat e = function() { document.getEle mentById("mtm_s eo").classNam e = "hover"; };
    menu2.ondeactiv ate = function() { document.getEle mentById("mtm_s eo").classNam e = ""; };
    menu3.onactivat e = function() { document.getEle mentById("mtm_w eb_design").cla ssName = "hover"; };
    menu3.ondeactiv ate = function() { document.getEle mentById("mtm_w eb_design").cla ssName = ""; };
    document.getEle mentById("mtm_c ontact_us").onm ouseover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_c ontact_us").onm ouseout = function() { this.className = ""; }
    document.getEle mentById("mtm_s ites_/_references").o nmouseover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_s ites_/_references").o nmouseout = function() { this.className = ""; }
    document.getEle mentById("mtm_p rices").onmouse over = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_p rices").onmouse out = function() { this.className = ""; }
    document.getEle mentById("mtm_g allery").onmous eover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_g allery").onmous eout = function() { this.className = ""; }
    }
    }
    //]]>
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/css/template_css.cs s" rel="stylesheet " type="text/css" />
    <link rel="shortcut icon" href="http://www.seoandwebde sign.com/images/favicon.ico" />







    </head>

    sorry for the long code

    thank you
  • vee10
    New Member
    • Oct 2006
    • 141

    #2
    hi,

    i have executed the code but i didnot got any error for title

    if u get again error then send me <body> part also.
    .




    Originally posted by garfy
    Hi

    i get this error in validation

    Line 22 column 6: document type does not allow element "title" here.

    <title>Seo Web Design Los Angeles - Web Design And Search Engine Optimization L

    But the title is inside the head so why I am getting this?

    Here is the code

    <head>


    <!-- Start of StatCounter Code -->
    <script type="text/javascript" language="javas cript">
    var sc_project=1412 655;
    var sc_invisible=1;
    var sc_partition=11 ;
    var sc_security="f8 ae2f10";
    var sc_remove_link= 1;
    </script>

    <script type="text/javascript" language="javas cript" src="http://www.statcounter .com/counter/counter.js"></script><noscrip t><img src="http://c12.statcounter .com/counter.php?sc_ project=1412655 &java=0&securit y=f8ae2f10&invi sible=1" alt="php hit counter" border="0"> </noscript>
    <!-- End of StatCounter Code -->





    <script language="JavaS cript" src="http://www.seoandwebde sign.com/includes/js/joomla.javascri pt.js" type="text/javascript"></script>

    <title>Seo Web Design Los Angeles - Web Design And Search Engine Optimization Los Angeles</title>
    <meta name="title" content="Web Design And Search Engine Optimization Los Angeles" />
    <meta name="author" content="Admini strator" />
    <meta name="descripti on" content="Web Design: Los Angeles Website Design and Search Engine Optimization, Los Angeles web design and seo professional will optimize your site for higher rankings regarding to search engine optimization" />
    <meta name="keywords" content="reno, seo web design, cheap , affordable price, search engine optimization, web design,web design los angeles,web site design,

    Los Angeles web design, seo, web design, renoseowebdesig n.com, photoshop tutorials video, Los Angeles Web Design, Web Design Los Angeles, Los Angeles Web Site Design, Web Site Design Los Angeles, search engine optimization, seo, Los Angeles SEO" />
    <meta name="Generator " content="Joomla ! - Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved." />
    <meta name="robots" content="index, follow" />
    <base href="http://www.seoandwebde sign.com/" />
    <link rel="shortcut icon" href="http://www.seoandwebde sign.com/images/favicon.ico" />

    <link rel="stylesheet " type="text/css" href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/styles.css" />

    <!-- these two are required for transmenus to function -->

    <link rel="stylesheet " type="text/css" href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/transmenu.css" />
    <script type="text/javascript" language="javas cript" src="http://www.seoandwebde sign.com/templates/renoseowebdesig n/packed.js"></script>





    <script type="text/javascript" language="javas cript">
    //<![CDATA[
    function init() {
    if (TransMenu.isSu pported()) {
    TransMenu.initi alize();
    document.getEle mentById("mtm_h ome").onmouseov er = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_h ome").onmouseou t = function() { this.className = ""; }
    menu2.onactivat e = function() { document.getEle mentById("mtm_s eo").classNam e = "hover"; };
    menu2.ondeactiv ate = function() { document.getEle mentById("mtm_s eo").classNam e = ""; };
    menu3.onactivat e = function() { document.getEle mentById("mtm_w eb_design").cla ssName = "hover"; };
    menu3.ondeactiv ate = function() { document.getEle mentById("mtm_w eb_design").cla ssName = ""; };
    document.getEle mentById("mtm_c ontact_us").onm ouseover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_c ontact_us").onm ouseout = function() { this.className = ""; }
    document.getEle mentById("mtm_s ites_/_references").o nmouseover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_s ites_/_references").o nmouseout = function() { this.className = ""; }
    document.getEle mentById("mtm_p rices").onmouse over = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_p rices").onmouse out = function() { this.className = ""; }
    document.getEle mentById("mtm_g allery").onmous eover = function() { ms.hideCurrent( ); this.className = "hover"; }
    document.getEle mentById("mtm_g allery").onmous eout = function() { this.className = ""; }
    }
    }
    //]]>
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="http://www.seoandwebde sign.com/templates/renoseowebdesig n/css/template_css.cs s" rel="stylesheet " type="text/css" />
    <link rel="shortcut icon" href="http://www.seoandwebde sign.com/images/favicon.ico" />







    </head>

    sorry for the long code

    thank you

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      I don't see a title tag in your code here is the layout:

      Code:
      <html>
      <head>
      <title>Some Title Goes Here</title>
       
      <script type="text/javascript" src="somejavascript.js" />
       
      <style type="text/css">
       
      /* CSS Goes Here */
       
      </style>
       
      </head>
       
      <body>
       
      Your Content Goes Here
       
      </body>
       
      </html>

      Comment

      • garfy
        New Member
        • Nov 2006
        • 8

        #4
        Sorry i fixed it already

        Comment

        • ronverdonk
          Recognized Expert Specialist
          • Jul 2006
          • 4259

          #5
          Then are you willing to tell us what the error was?? So we can all learn?

          Ronald :cool:

          Comment

          • garfy
            New Member
            • Nov 2006
            • 8

            #6
            I had a lot of errors so I really do not remember how did I fix it, but i put the code in to dreamweaver and run the validation check

            Comment

            Working...