Change the Color of Text on HTML5

Tell us what’s happening:


In HTML5, it’s not supossed that style it’s only used on CSS?, not into the HTML code?..

Your code so far

<h2 style="color: red">CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0.

Link to the challenge:

It’s called an inline style. It’s generally not the best way to style elements, but it’s perfectly valid.

1 Like