Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![umairbalani](https://uploads.teamtreehouse.com/production/profile-photos/1065712/micro_Umair.jpg)
umairbalani
11,390 PointsHTML tag error
While checking for html validation found this error but couldn't fix it please help.
Bad value http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800 for attribute href on element link: Illegal character in query: not a URL code point. β¦ne|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> Syntax of URL: Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
2 Answers
![Colin Bell](https://uploads.teamtreehouse.com/production/profile-photos/1100802/micro_10391040_10203865630019070_8593751824903140461_n.jpg)
Colin Bell
29,679 PointsIt's the 'bar' character (The | between One and Open). It's not a big deal, but you can replace it with a URL encode to get rid of the error.
<link href=' http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
<!-- ^ change this -->
<link href=' http://fonts.googleapis.com/css?family=Changa+One%7Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
<!-- ^ to this -->
Andrew McCormick
17,730 PointsProbably because the pipe should be percent encoded to be valid (maybe even the "+" as well)
http://fonts.googleapis.com/css?family=Changa+One|COpen+Sans:400italic,700italic,400,700,800
would be
http://fonts.googleapis.com/css?family=Changa+One%7COpen+Sans:400italic,700italic,400,700,800
http://en.wikipedia.org/wiki/Percent-encoding#Types_of_URI_characters
![umairbalani](https://uploads.teamtreehouse.com/production/profile-photos/1065712/micro_Umair.jpg)
umairbalani
11,390 Pointsthanks
umairbalani
11,390 Pointsumairbalani
11,390 Pointswhat does URL encode is?
Colin Bell
29,679 PointsColin Bell
29,679 PointsThis article explains it pretty well: link