JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" title="Link"><span class="the_span">Text</span></a>

<br /><br />

<a href="#" title="Link"><p class="the_para">Text 2</p></a>

CSS

.the_span {
    color: red;
    display: block;
}

.the_para {
    color: red;
}