开发者

A Syntax Question: Validating Meta Keys with Capital letters?

开发者 https://www.devze.com 2023-02-21 12:35 出处:网络
Dear folks, somewhere on the net I read a person advising: \" Validate your meta keys dude. Validating it would help (Mostly, make all letters CAPITAL and add / before the ending 开发者_如何学Go>\

Dear folks, somewhere on the net I read a person advising:

" Validate your meta keys dude. Validating it would help (Mostly, make all letters CAPITAL and add / before the ending 开发者_如何学Go> "

What does that mean? does that mean

<link rel="canonical" href="<?=$canonical?>">

should be

<LINK REL="CANONICAL" HREF="<?=$canonical?>"/>

?? Thanks for clarification


I think he talked only about attribute names.. ie.

<LINK REL="canonical" HREF="<?=$canonical?>" />

But case doesn't matter afaik. Ad. validation: He was probably talking about w3c html validator.

0

精彩评论

暂无评论...
验证码 换一张
取 消