JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function() {
var html = "<!doctype html><html><head><title>title here ... </title></head><body>This is the body</body></html>",
$html = $(html);
console.log($html);
console.log($html.find("body"));
console.log($html.find("title"));
console.log($html.filter("title"));
});