Click here to get back home

html doesn`t validate

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
html doesn`t validate Harris Kosmidhs 06-07-2007
Get Chitika Premium
Posted by Harris Kosmidhs on June 7, 2007, 7:18 am
Please log in for more thread options


I hope it's the right newsgroup for the question.

I have custmized a site at http://www.black-tracker.gr/ (it's in greek)

But it doesn't validate
(http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.black-tracker.gr%2F)
and I cannot understand why?

Any help?

thanks

PS: I use Utf8 and in my editor (crimson editor) utf8 without BOM.

Posted by Benjamin Niemann on June 7, 2007, 7:44 am
Please log in for more thread options


Hello,

Harris Kosmidhs wrote:

> I hope it's the right newsgroup for the question.

Yes.

> I have custmized a site at http://www.black-tracker.gr/ (it's in greek)
>
> But it doesn't validate
>
(http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.black-tracker.gr%2F)
> and I cannot understand why?
>
> Any help?

In HTML 4.01 Strict you cannot put inline elements (e.g. form controls
INPUT, SELECT, ..) and character data directly into the FORM elements.
The inline content has to be place in block elements that allow inline
content.
The simplest 'hack' to fix this is to wrap the FORM contents into DIVs. But
other elements like FIELDSET may be more appropriate (I haven't looked to
closely at the actual contents...).

HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

Posted by David Stone on June 7, 2007, 8:23 am
Please log in for more thread options



> I hope it's the right newsgroup for the question.
>
> I have custmized a site at http://www.black-tracker.gr/ (it's in greek)
>
> But it doesn't validate
> (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.black-tracker.gr
> %2F)
> and I cannot understand why?
>
> Any help?

Well, start with the first error and explanation listed just below the
big red box telling you the code doesn't validate. It says that there
is a problem with the html on line 37 of your page, and follows it up
with an explanation. From the validator:

Line 37 column 62: document type does not allow element "SELECT" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV",
^^^^^^^^^^^^^^^^^^^

Section 17.6 of the html 4 standard includes some examples of how to
use the select element. Fix your code accordingly, then try again.
Repeat until all the errors are gone!

Similar ThreadsPosted
Validator doesnt like my javascript can some help me? July 26, 2004, 4:47 pm
contenteditable="true" in Mozilla and IE (Mozila doesnt streach) December 2, 2006, 11:35 am
how can I validate with these lines of HTML? May 14, 2005, 7:13 pm
Re: How can I programmatically validate html ? July 31, 2008, 7:01 pm
How to validate HTML with variables in link? August 16, 2004, 1:35 am
Why does this not validate? October 29, 2004, 8:18 am
Validate API January 9, 2005, 7:05 pm
Why won't this validate at W3C January 14, 2006, 7:58 am
Why won't this validate? April 18, 2007, 1:24 pm
help validate FRAMESET March 4, 2006, 3:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap