JSFiddle - React, Tailwind, and code Playground

by Mottie

HTML

<div>
    <object><embed></embed></object>
</div>

JavaScript

var content = $('div').find('*');
console.log(content.length);

content.each(function() {
    console.log(this.tagName);
});