Welcome to WebmasterWorld Guest from 174.129.163.89

Forum Moderators: incrediBILL

Message Too Old, No Replies

Having errors when validating

     
12:45 am on Nov 12, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 28, 2006
posts:44
votes: 0


I am using a cms joomla and i get only 2 errors

the first one is

Error Line 80 column 66: character "/" is not allowed in the value of attribute "id".

.../www.......webdesign.com/links.html" id="mtm_sites_/_references">Sites / References</a>

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.

I do not know how to fix that because it is coming from javascript menu called transmenu


and the second error is here

Error Line 312 column 112: document type does not allow element "link" here.

...s" rel="stylesheet" type="text/css" /><script language="javascript" type="

Can someone help

Thanks

12:12 pm on Nov 12, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2006
posts: 3123
votes: 0


and the second error is here

Error Line 312 column 112: document type does not allow element "link" here.

...s" rel="stylesheet" type="text/css" /><script language="javascript" type="

I don't know much about Joomla, but the LINK element can only appear in the <head>...</head> section of your html document. At line#312, you either have a massive <head> section, or it is in your document <body>.

10:08 pm on Nov 12, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 26, 2003
posts:1133
votes: 0


Taken from
[w3.org...]

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

Therefore the line should be:

./www.......webdesign.com/links.html" id="mtm_sites_references">Sites / References</a>

And as Penders said, <link can only appear in <head> section, not in the body (script, on the opposite side, can appear in the body)

Hope this helps you
Michal