If you want to use inline css, you'd use the 'style' attribute (not a tag).
<h2>My heading</h2>
The fact that your question suggests that there is a tag to accomplish this, is confusing.
7.4m questions
9.9m answers