Html validation confusing

After receiving an email from Google telling me that 33 pages did not conform to mobile requirements I have been busy adjusting things. Most of my pages received around 65% in the Google Page Speed Insights, and I moved a share42 script to the bottom of the page, which imporved it. Then, I wondered if I could do the same with

<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,500,700%7CRoboto+Slab:400,700' rel='stylesheet' type='text/css'>

and tried. The page went into the green with 90% and looked fine. So, I changed quite a few pages, but now the validator throws up an error, which disappears if I put the line back inside the head. I read that, in the past, you could not put the link inside the body, but that things have changed.
So, I am confused! Shall I go with the validator, or ignore it?

Thank you

The validator isn’t always correct, but it’s correct here.

Your link should be in the <head> section.

Hi Ryan

GOOGLE page speed tells me to put a GOOGLE link below…and goes green in delight when I do. The validaot says GOOGLE knows nothing about its own links…

All right, undo everything and go back into the red!

But what shall I do to satisfy Page Speed?

I’m sure there are a plethora of other things you can do to get your page speed higher. What other recommendations are there?

Problems uploading the attachment… How do you do it? The Upload does not work and if I drag & drop the rest of the page disappears and I cannot see the Reply button…

Anyway the big culprits (in red) are Remove render-blocking Java script whi ch I moved to the bottom and optimize css delivery of the css file and the Google fonts

Run pageSpeed in, for instance http://pintotours.net/Americas/DomRepublic/foodStoDom.html

Regards

UPDATE

About the same problem:

http://stackoverflow.com/questions/18549726/element-link-is-missing-required-attribute-property

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.