JSFiddle - React, Tailwind, and code Playground
HTML
<h1>Somente LI</h1>
<div id="element">
</div>
JavaScript
$(function(){
var html = '<ul>\
<li>1</li>\
<li>2</li>\
<p>Não é uma li</p>\
</ul>';
// Quero somente as LI
var $lis = $(html).find('li');
$('#element').html($lis);
});