172k views
4 votes
To color the h2 heading, what tag would you use?

User Leif
by
7.6k points

1 Answer

6 votes

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.

User Adrian Martin
by
6.8k points