Why is it bad to use my tags ( <mytag></mytag> ) and my attributes without data-* in html ?
As for the tags, this is how the Yandex map is inserted:
Consequently, the question is why are they allowed, but not to us?
Why is it bad to use my tags ( <mytag></mytag> ) and my attributes without data-* in html ?
As for the tags, this is how the Yandex map is inserted:
Consequently, the question is why are they allowed, but not to us?
There may be custom tags, this is not bad, the browsers calmly support them, but the default tags break the page into logical parts with the names that correspond to the content, this simplifies indexing, the robots understand the structure of the site, the best semantics. data I think also semantics, access in javascript and in css, how to get access without data in pseudo-element css is probably not possible.
Source: https://ru.stackoverflow.com/questions/567572/
All Articles