V
V
Vladimir Kiper2016-06-08 16:38:39
HTML
Vladimir Kiper, 2016-06-08 16:38:39

Is rel="canonical" spelled correctly?

Is there a fundamental difference between

<link href="http://www.site.com.ua/" rel="canonical" />
and
<link rel="canonical" href="http://www.site.com.ua/">
for search engines and for the validity of the code? I have repeatedly encountered this and different CMS generate it in their own way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Ivashchenko, 2016-06-08
@Kipeer

1. Your tags are "eaten".
Try this:
It will turn out like this:
2. Regarding the question: no, there is no semantically difference, both options will pass the W3C validator, and search engines will understand both options correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question