SyntaxFix
Write A Post
Hire A Developer
Questions
old question but for newcomers that come around :
document.querySelector('div').outerHTML