JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
JavaScript
$('<input>').attr({
type: 'checkbox',
checked:true
}).appendTo('body');
$('<input>').attr({
type: 'checkbox'
}).appendTo('body').attr({
checked: true
});