Coloring paragraph, nth-child

+1 Robert Summers · October 8, 2014
So in HTML, I have the paragraph 

This is a paragraph.

How can I color the word (this) red and (paragraph) yellow.
And leaving (is a) black.

Thank you for the help in return. :)

Post a Reply

Replies

Oldest  Newest  Rating
0 Robert Summers · October 9, 2014
It's strange cause as soon as I posted I though spans, thank you though anyway. There must be some CSS ways

Many Thanks 
Robert
  • 1

HTML / CSS / Web Design

107,285 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators