By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

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

P: 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
Nov 5 '06 #1
Share this Question
Share on Google+
5 Replies


100+
P: 141
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.
.




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
Nov 6 '06 #2

Expert 100+
P: 1,892
I don't see a title tag in your code here is the layout:

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Some Title Goes Here</title>
  4.  
  5. <script type="text/javascript" src="somejavascript.js" />
  6.  
  7. <style type="text/css">
  8.  
  9. /* CSS Goes Here */
  10.  
  11. </style>
  12.  
  13. </head>
  14.  
  15. <body>
  16.  
  17. Your Content Goes Here
  18.  
  19. </body>
  20.  
  21. </html>
  22.  
Nov 6 '06 #3

P: 8
Sorry i fixed it already
Nov 28 '06 #4

ronverdonk
Expert 2.5K+
P: 4,258
Then are you willing to tell us what the error was?? So we can all learn?

Ronald :cool:
Nov 28 '06 #5

P: 8
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
Nov 28 '06 #6

Post your reply

Sign in to post your reply or Sign up for a free account.