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

User Leif
by
9.1k 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
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.