470,594 Members | 1,510 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

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

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
5 10803
vee10
141 100+
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
AricC
1,892 Expert 1GB
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
garfy
8
Sorry i fixed it already
Nov 28 '06 #4
ronverdonk
4,258 Expert 4TB
Then are you willing to tell us what the error was?? So we can all learn?

Ronald :cool:
Nov 28 '06 #5
garfy
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.

Similar topics

5 posts views Thread by Greg Collins [InfoPath MVP] | last post: by
2 posts views Thread by George Sew | last post: by
6 posts views Thread by Tumurbaatar S. | last post: by
28 posts views Thread by Steven Bethard | last post: by
3 posts views Thread by Brian Henry | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.