I am aware that Google uses text inside of h1 tags to help index webpages and this can improve a website's SEO ranking.
Does nesting SEO-important text such as a page title inside of multiple html elements which have a h1 as a parent adversely impact this? Or is it treated the same by Google as if the text were written directly inside of the h1 tag?
(I understand this is not best practice and should be avoided anyway. But I am interested to know what the effect of doing it would be).