JSFiddle - React, Tailwind, and code Playground
HTML
<h2>One <span>Two</span></h2>
CSS
h2 {
font-family: sans-serif;
font-weight: normal;
}
h2 span {
font-weight: bold;
}
<h2>One <span>Two</span></h2>
h2 {
font-family: sans-serif;
font-weight: normal;
}
h2 span {
font-weight: bold;
}