w3c markup validator ampersand (&) error

前端 未结 4 699
孤城傲影
孤城傲影 2020-12-03 23:18

Is there any workaround for the w3c validation error for an & present in urls or some other place in HTML markup?
It says:

&

4条回答
  •  生来不讨喜
    2020-12-03 23:59

    should be:

    c91588793296e2?s=50&d=http%3A%2F%.

    notice the &

    I know it feels wonky, but ampersands have to be encoded as html entities, which are confusingly denoted with ampersands.

提交回复
热议问题