Query .outerHTML()Gets outer HTML including the element tagquery-outerhtml3componentQuerypage.jsContentouterHTML() includes the element itself, unlike [html()](/examples/query-html) which only gets inner content["query","content","html","outer"].outerHTML()Example
Categories