Welcome to WebmasterWorld Guest from 54.144.79.200

Forum Moderators: incrediBILL

Message Too Old, No Replies

Having errors when validating

     

fendy

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

5+ Year Member



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

penders

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

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



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>.

mcibor

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

WebmasterWorld Senior Member 10+ Year Member



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