Problem with HTML validation

Hello there,

I have tested HTML validation for a page but i get errors although the code is correct with no errors when i make validation by “Validate by direct input”.

Also the validation sees that the document is HTML 4.0 although it’s HTML5.

https://validator.w3.org/check?uri=http%3A%2F%2Fmoradhamdy.com%2Fmorad%2Fsmiley-demo%2Findex-video-btn-1-left.html%3Fi%3D1&charset=(detect+automatically)&doctype=Inline&group=0

So why this errors appear although the code itself is correct with no errors?

It’s InfinityFree’s bot blocking protection that affects the request.

@MoonlightCapital said:
It’s InfinityFree’s bot blocking protection that affects the request.

So how to fix that?

I don’t know how this bot can be useful when it makes the code having some validation errors!

@MoradHamdy said:

@MoonlightCapital said:
It’s InfinityFree’s bot blocking protection that affects the request.

So how to fix that?

I don’t know how this bot can be useful when it makes the code having some validation errors!

You could decide to not use a web based checker. Or just not care that much about W3C compliance. If the code is actually broken, you typically don’t need a validator to figure that out.