简体   繁体   中英

How to solve w3 validation error bad value?

The W3C validation report me this error:

Error: Bad value //fonts.googleapis.com/css?family=PT+Sans:400,700|PT+Serif:400,700 for attribute href on element link: Illegal character in query: | is not allowed. From line 58, column 1; to line 58, column 163 ='all' />↩

How I must solve it?

You can encode that character to make this valid:

//fonts.googleapis.com/css?family=PT+Sans:400,700%7CPT+Serif:400,700

This should then be a valid value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM