Welcome to the Treehouse Community
Looking to learn something new?
Jermaine Witter29,422 Points
Cannot validate HTML Markup
I'm hoping someone can help. I just completed the make you own website course, but my HTML will not validate and I'm not sure why. It has something to do with the Google fonts but Nicks markup validated fine and mine's identical. Any suggestions will be appreciated? (see error below).
Thanks Hayden. The error I get is
Error Line 7, Column 156: Bad value http://fonts.googleapis.com/css?family=Changa+One:400,400italic|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Illegal character in query: not a URL code point. …ic|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> Syntax of IRI reference: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
Thanks for the tip on posting code, didn't know it get's stripped out of the post
You have to url encode the vertical bar
| that is in the google fonts url.