View Full Version : Cmotion error validation W3C

08-15-2010, 08:56 PM
1) Script Title:

:: CMotion Image Gallery

2) Script URL (on DD):


3) Describe problem:

W3C HTML 4.01 Transitional problem in validation.


I have used Cmotion gallery script and I have modified it a little. A version could be seen at this site: http://www.pintorcastanyer.com/

(See in English language)

Exactly at the part Anthology MUBAG:


When I try to W3C validate this page I obtain the following error:

" Line 4, Column 71: character data is not allowed here
<link rel="stylesheet" type="text/css" href="mubag/gallerystyle.css" />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:

•putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
•forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
•using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML. "

Any ideas will be wellcome.


08-15-2010, 09:08 PM

The problem is yet solved. I have forgotten to specify the DOCTYPE. When I have done it all have worked OK.