homepage Welcome to WebmasterWorld Guest from 54.237.38.30
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Having errors when validating
fendy

5+ Year Member



 
Msg#: 3153955 posted 12:45 am on Nov 12, 2006 (gmt 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

 

penders

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



 
Msg#: 3153955 posted 12:12 pm on Nov 12, 2006 (gmt 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>.

mcibor

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3153955 posted 10:08 pm on Nov 12, 2006 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved