validation?

0 views
Skip to first unread message

Dale

unread,
May 14, 2022, 4:42:30 PMMay 14
to
I have been having some validation issues over the last couple days.

If I go here ...

https://validator.w3.org/

and enter ...

https://www.dalekelly.org

it validates

in my site I have this validation code icon ...

<a href="https://validator.w3.org/check?uri=referer"><img
src="https://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01
Strict" height="31" width="88"></a>

I get some errors even on pages that have not been edited lately

my CSS check works

the best way to see the errors is to click on the icon on my page ...


https://www.dalekelly.org




--
Mystery? -> https://www.dalekelly.org/

Dale

unread,
May 14, 2022, 5:42:57 PMMay 14
to
its working now ...

Miner

unread,
May 15, 2022, 6:18:11 AMMay 15
to
Dale wrote:

> I get some errors even on pages that have not been edited lately

Make sure that your HTML page are free from foreign code. Some
shity hostings trying to insert own code. In this way valid HTML
code become and invalid.

--
Miner

Arno Welzel

unread,
May 15, 2022, 7:55:56 AMMay 15
to
Dale:

> I have been having some validation issues over the last couple days.
>
> If I go here ...
>
> https://validator.w3.org/
>
> and enter ...
>
> https://www.dalekelly.org
>
> it validates
>
> in my site I have this validation code icon ...
>
> <a href="https://validator.w3.org/check?uri=referer"><img
> src="https://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01
> Strict" height="31" width="88"></a>
>
> I get some errors even on pages that have not been edited lately

Adding such icons makes no sense at all. You don't need to show visitors
that your sites is valid HTML - this is just, what can be expected today
anway.

Also most browsers do NOT pass the referer to other domains any longer
for security reasons:

<https://developer.mozilla.org/en-US/docs/Web/Security/Referer_header:_privacy_and_security_concerns>

So an URL like <https://validator.w3.org/check?uri=referer> simply will
most likley just not work any longer since the referer is not passed to
another websites.

What you can do instead is adding the URL to be checked like this:

<https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.dalekelly.org%2F>

However to have this on every document with the right URL you may need
some kind of server side scripting which inserts the requested URL
dynamically - but this way out of scope of your knowledge I think.

--
Arno Welzel
https://arnowelzel.de

Arno Welzel

unread,
May 15, 2022, 7:57:22 AMMay 15
to
Dale:

> On 5/14/2022 4:42 PM, Dale wrote:
>> I have been having some validation issues over the last couple days.
[...]
>> https://www.dalekelly.org
>>
>>
>>
>>
>
> its working now ...

No.

When I click the button on your website, I get directed to this:

<https://validator.w3.org/nu/?doc=https%3A%2F%2Fwireless.wiki.kernel.org%2Fen%2Fvendors%2Fvendorsupport>

Please read my other post about using referers in browsers nowadays.
Reply all
Reply to author
Forward
0 new messages