JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.css">
<script src="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.js"></script>
<div data-role="page" id="homepage">
<div data-role="content">
<a id='mybutton' href="#" data-role="button" data-icon="check">My Button</a>
</div>
</div>
CSS
.redtext{color:red;font-size:medium;text-shadow: aqua;}
JavaScript
$("#mybutton").html("My Button(<span class='redtext'>0</span>)");