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.
9.4m questions
12.2m answers