Re: How to validate my HTML5 site?

Geoff McLane <[email protected]> Fri, 6 Nov 2015 15:48:45 +0100
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <CA+PgotK0Nk+J7Kc2C9Lg4-Y7S72e_tnpYbc3qiAN9PKt-YjZfQ@mail.gmail.com>
--e89a8f64771d30fb370523e057ec
Content-Type: text/plain; charset=UTF-8

Hi Niko,

Maybe I misunderstand the question, but are you looking for
https://validator.w3.org/ ?

I just put your URL in the address line, and clicked [ Check ], and it
worked for me!

Not sure what you mean by the 'corresponding validator'?

The W3C validator is open source, and there may be others who offer online
validation services, either using that or other sources... and there are
commercial products like https://www.htmlvalidator.com/, and others I am
sure...

But here is 'HTML Tidy', and while tidy 'tidies' your HTML, and outputs
errors, warnings, it is NOT a 'validator' exactly...

I note your index.html page is a single line of html without line breaks,
which is fine, compact even...

Maybe the editor you use to generate this does render it with line breaks,
for human viewing, and only publishes it without them? Or it operates only
in `Design` view, no `Source` view? There does seem at least one space
where normally one would expect a line break...

Your page uses RDFa attributes, like prefix and property, which are
presently **not** supported by Tidy! We are working on the question - see
https://github.com/htacg/tidy-html5/issues/209 - still OPEN! So running
tidy on your page at this time will incorrectly show these as warnings...

Also in running tidy you would need to add the options
`--drop-empty-elements no`, or else tidy will remove the empty u and span
elements, and `--vertical-space auto`, a new option, to output the html in
one line... but like I indicate you do not seem to need Tidy!

Hope this helps...

Regards,
Geoff.

--e89a8f64771d30fb370523e057ec
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Niko,</div><div><br></div><div>Maybe I misundersta=
nd the question, but are you looking for <a href=3D"https://validator.w3.or=
g/">https://validator.w3.org/</a> ?</div><div><br></div><div>I just put you=
r URL in the address line, and clicked [ Check ], and it worked for me!</di=
v><div><br></div><div>Not sure what you mean by the &#39;corresponding vali=
dator&#39;?</div><div><br></div><div>The W3C validator is open source, and =
there may be others who offer online validation services, either using that=
 or other sources... and there are commercial products like <a href=3D"http=
s://www.htmlvalidator.com/">https://www.htmlvalidator.com/</a>, and others =
I am sure...</div><div><br></div><div>But here is &#39;HTML Tidy&#39;, and =
while tidy &#39;tidies&#39; your HTML, and outputs errors, warnings, it is =
NOT a &#39;validator&#39; exactly...</div><div><br></div><div>I note your i=
ndex.html page is a single line of html without line breaks, which is fine,=
 compact even...=C2=A0</div><div><br></div><div>Maybe the editor you use to=
 generate this does render it with line breaks, for human viewing, and only=
 publishes it without them? Or it operates only in `Design` view, no `Sourc=
e` view? There does seem at least one space where normally one would expect=
 a line break...</div><div><br></div><div>Your page uses RDFa attributes, l=
ike prefix and property, which are presently **not** supported by Tidy! We =
are working on the question - see <a href=3D"https://github.com/htacg/tidy-=
html5/issues/209">https://github.com/htacg/tidy-html5/issues/209</a> - stil=
l OPEN! So running tidy on your page at this time will incorrectly show the=
se as warnings...</div><div><br></div><div>Also in running tidy you would n=
eed to add the options `--drop-empty-elements no`, or else tidy will remove=
 the empty u and span elements, and `--vertical-space auto`, a new option, =
to output the html in one line... but like I indicate you do not seem to ne=
ed Tidy!</div><div><br></div><div>Hope this helps...</div><div><br></div><d=
iv>Regards,</div><div>Geoff.</div><div><br></div></div>

--e89a8f64771d30fb370523e057ec--