Problem Line 22 column 6: document type does not allow element "title" here. | Newbie | | Join Date: Nov 2006
Posts: 8
| | |
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="javascript">
var sc_project=1412655;
var sc_invisible=1;
var sc_partition=11;
var sc_security="f8ae2f10";
var sc_remove_link=1;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><img src="http://c12.statcounter.com/counter.php?sc_project=1412655&java=0&security=f8a e2f10&invisible=1" alt="php hit counter" border="0"> </noscript>
<!-- End of StatCounter Code -->
<script language="JavaScript" src="http://www.seoandwebdesign.com/includes/js/joomla.javascript.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="Administrator" />
<meta name="description" 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, renoseowebdesign.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.seoandwebdesign.com/" />
<link rel="shortcut icon" href="http://www.seoandwebdesign.com/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://www.seoandwebdesign.com/templates/renoseowebdesign/styles.css" />
<!-- these two are required for transmenus to function -->
<link rel="stylesheet" type="text/css" href="http://www.seoandwebdesign.com/templates/renoseowebdesign/transmenu.css" />
<script type="text/javascript" language="javascript" src="http://www.seoandwebdesign.com/templates/renoseowebdesign/packed.js"></script>
<script type="text/javascript" language="javascript">
//<![CDATA[
function init() {
if (TransMenu.isSupported()) {
TransMenu.initialize();
document.getElementById("mtm_home").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_home").onmouseout = function() { this.className = ""; }
menu2.onactivate = function() { document.getElementById("mtm_seo").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("mtm_seo").className = ""; };
menu3.onactivate = function() { document.getElementById("mtm_web_design").classNam e = "hover"; };
menu3.ondeactivate = function() { document.getElementById("mtm_web_design").classNam e = ""; };
document.getElementById("mtm_contact_us").onmouseo ver = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_contact_us").onmouseo ut = function() { this.className = ""; }
document.getElementById("mtm_sites_/_references").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_sites_/_references").onmouseout = function() { this.className = ""; }
document.getElementById("mtm_prices").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_prices").onmouseout = function() { this.className = ""; }
document.getElementById("mtm_gallery").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_gallery").onmouseout = function() { this.className = ""; }
}
}
//]]>
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="http://www.seoandwebdesign.com/templates/renoseowebdesign/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://www.seoandwebdesign.com/images/favicon.ico" />
</head>
sorry for the long code
thank you
| | Familiar Sight | | Join Date: Oct 2006
Posts: 141
| | | re: Problem Line 22 column 6: document type does not allow element "title" here.
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.
. Quote:
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="javascript">
var sc_project=1412655;
var sc_invisible=1;
var sc_partition=11;
var sc_security="f8ae2f10";
var sc_remove_link=1;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><img src="http://c12.statcounter.com/counter.php?sc_project=1412655&java=0&security=f8a e2f10&invisible=1" alt="php hit counter" border="0"> </noscript>
<!-- End of StatCounter Code -->
<script language="JavaScript" src="http://www.seoandwebdesign.com/includes/js/joomla.javascript.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="Administrator" />
<meta name="description" 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, renoseowebdesign.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.seoandwebdesign.com/" />
<link rel="shortcut icon" href="http://www.seoandwebdesign.com/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://www.seoandwebdesign.com/templates/renoseowebdesign/styles.css" />
<!-- these two are required for transmenus to function -->
<link rel="stylesheet" type="text/css" href="http://www.seoandwebdesign.com/templates/renoseowebdesign/transmenu.css" />
<script type="text/javascript" language="javascript" src="http://www.seoandwebdesign.com/templates/renoseowebdesign/packed.js"></script>
<script type="text/javascript" language="javascript">
//<![CDATA[
function init() {
if (TransMenu.isSupported()) {
TransMenu.initialize();
document.getElementById("mtm_home").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_home").onmouseout = function() { this.className = ""; }
menu2.onactivate = function() { document.getElementById("mtm_seo").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("mtm_seo").className = ""; };
menu3.onactivate = function() { document.getElementById("mtm_web_design").classNam e = "hover"; };
menu3.ondeactivate = function() { document.getElementById("mtm_web_design").classNam e = ""; };
document.getElementById("mtm_contact_us").onmouseo ver = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_contact_us").onmouseo ut = function() { this.className = ""; }
document.getElementById("mtm_sites_/_references").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_sites_/_references").onmouseout = function() { this.className = ""; }
document.getElementById("mtm_prices").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_prices").onmouseout = function() { this.className = ""; }
document.getElementById("mtm_gallery").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_gallery").onmouseout = function() { this.className = ""; }
}
}
//]]>
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="http://www.seoandwebdesign.com/templates/renoseowebdesign/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://www.seoandwebdesign.com/images/favicon.ico" />
</head>
sorry for the long code
thank you | | Expert | | Join Date: Oct 2006 Location: NC
Posts: 1,722
| | | re: Problem Line 22 column 6: document type does not allow element "title" here.
I don't see a title tag in your code here is the layout: - <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>
-
| | Newbie | | Join Date: Nov 2006
Posts: 8
| | | re: Problem Line 22 column 6: document type does not allow element "title" here.
Sorry i fixed it already
|  | Moderator | | Join Date: Jul 2006 Location: The Netherlands
Posts: 4,139
| | | re: Problem Line 22 column 6: document type does not allow element "title" here.
Then are you willing to tell us what the error was?? So we can all learn?
Ronald :cool:
| | Newbie | | Join Date: Nov 2006
Posts: 8
| | | re: Problem Line 22 column 6: document type does not allow element "title" here.
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
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,439 network members.
|