W3C home > Mailing lists > Public > www-validator@w3.org > January 2017

Issue / Question regarding test results with Google Fonts

From: Johanna Raupe <jmraupe57@yahoo.com>
Date: Fri, 27 Jan 2017 16:49:40 +0000 (UTC)
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <1153478030.397462.1485535780066@mail.yahoo.com>


Good Morning,
I am running some test using the interface and am seeing that it throws an error regarding the standard format as outlined by Google for utilizing two or more Google fonts in one's web page.
If you navigate to Google Fonts

  
|  
|  
|  
|   |    |

  |

  |
|  
|    |  
Google Fonts
 Making the web more beautiful, fast, and open through great typography  |   |

  |

  |

 
select two or more fonts.  Google provides the standard format to use their fonts on one's web page.
For the purpose of this example I arbitrarily select Open Sans and Oswald.
In the instruction set, google displays how they want the string passed to them in the page's header..

<link href="https://fonts.googleapis.com/css?family=Open+Sans|Oswald" rel="stylesheet"> 

The app returns:   
   - Error: Bad value https://fonts.googleapis.com/css?family=Bilbo|Italianno|Rock+Salt for attribute href on element link: Illegal character in query: | is not allowed.From line 30, column 3; to line 30, column 100css'/> ↩ <link href='https://fonts.googleapis.com/css?family=Bilbo|Italianno|Rock+Salt' rel='stylesheet' /> ↩ <l
   - Error: Bad value https://fonts.googleapis.com/css?family=Bilbo|Italianno|Rock+Salt for attribute href on element link: Illegal character in query: | is not allowed.From line 30, column 3; to line 30, column 110css'/> ↩ <link href='https://fonts.googleapis.com/css?family=Bilbo&#124;Italianno&#124;Rock+Salt' rel='stylesheet' /> ↩ <l

Can you let me know if this is a true error and the proper way to pass this?
Thank YouJohanna
Received on Monday, 30 January 2017 03:18:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 30 January 2017 03:18:32 UTC