Properly rel="canonical"?

Is there a significant difference between
<link href="" rel="canonical">
<link rel="canonical" href="">
for search engines and for the validity of the code? Repeatedly faced with this and different CMS generate it on your own.
July 8th 19 at 15:51
1 answer
July 8th 19 at 15:53
1. You have tags "shielas".

Try this:

Get this:
<link rel="canonical" href="">

2. As to the question: no, semantically there is no difference, both options will be tested by the W3C validator, and the search engines both understand correctly.
Thank you! - tina7 commented on July 8th 19 at 15:56

Find more questions by tags HTMLLayoutSearch engine optimization