You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Custom Element, <our-h1>. <our-h1> is a placeholder such that when it is upgraded, it becomes a regular <h1> through DOM manipulation - that is, <our-h1> is replaced with <h1>.
In terms of SEO, would the constructed <h1> from <our-h1> be the same as if it was using an <h1> directly?
The text was updated successfully, but these errors were encountered:
It depends on whether the search engine in question understands custom elements.
Probably that's a problem right now. F.e., @Sylphony, a bot that just reads HTML strings (without looking at the JavaScript DOM objects) could not possibly know that <my-header-1> is an extended <h1>.
I have a Custom Element,
<our-h1>
.<our-h1>
is a placeholder such that when it is upgraded, it becomes a regular<h1>
through DOM manipulation - that is,<our-h1>
is replaced with<h1>
.In terms of SEO, would the constructed
<h1>
from<our-h1>
be the same as if it was using an<h1>
directly?The text was updated successfully, but these errors were encountered: