How can i change the style of color


#1


it wont let change colors with the tag....


<!DOCTYPE html>
<html>
	<head>
		<title></title>
	</head>
	<body>
		<p style= color;red >This text is black, except for the word red!</p>
	</body>
</html>


#2

Syntax for style:

<p style="property: value;">ladhflkshf</p>

#3

HTML Basics III
13. Spantastic

its not working tried that already....


#4

With property and value replaced with color and red?
What does the error say?


#5

Oops, try again. Make sure only to wrap the word "red" in the tags!


#6

Can I see your code?


#7







This text is black, except for the word red!




#8







This text is black, except for the word red!



Oops, try again. Make sure only to wrap the word "red" in the tags!


#9







This text is black, except for the word red!



Oops, try again. Make sure only to wrap the word "red" in the tags!
[/quote]

what is it that i did wrong


#10

you need to format your code like this:

make this symbol(`) three times in front of your code. And at the end.

like this:

<p>
Hello
</p>

#11

(





This text is black, except for the word red!



)

#12

no I mean this symbol `


#13

or click this:


#14

'''





This text is black, except for the word red!



'''

#15

im sorry im getting confused...


#16

That should explain it.


#17

you are supposed to make one word red with span:

<span>red</span>

sorry @datfatcat I took your topic


#18

That's alright :slight_smile:
I'm slightly busy at the moment so thanks.


#19

@iayala19 does that answer your exercise?


#20

got it passed! thank i appreciate your help:blush: