The HTML string is different from the traditional selectors in that it creates the DOM elements representing that HTML string, on the fly, to be (assumedly) inserted into the document later.
You can learn stuff from experts like HTML, Photography or even how to animate your own YouTube videos from the largest YouTube channel in Germany — Kurzgesagt.
And I think we've seen evidence of this already in that early on when people were creating websites, they were literally writing out code in a language called HTML by hand.