All in black

I write:

	<title="colour:green;font-size:16ph">Changing the colors!</title>
	<h1>Big Heading</h1>
		<p style="colour:violet">A giant bear and a little duck were friends.</p>
		<p style="colour:red;font-size:10px">But the bear got hungry and ate the duck.</p>

But in console all is black. Why.

Try writing color instead of colour and close </body> tags

and try adding the style attribute you currently have at title to the h1 heading

and use px for font-size, instead of ph

A post was split to a new topic: Question

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.