9. Font color

This doesnt work for me

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

My code

You should have a colon : instead of an equals sign in each case of the above.

Remove the hyphen -.

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