All in black


#1

I write:

<head>
	<title="colour:green;font-size:16ph">Changing the colors!</title>
</head>
<body>
	<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.


#2

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


#3

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

and use px for font-size, instead of ph


#4

A post was split to a new topic: Question


#5

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