+ 5

How to change background color of a particular text.

Sentence : My fist paragraph.

29th Jan 2018, 7:25 AM
Chandan Kumar
Chandan Kumar - avatar
2 Answers
+ 17
many ways <p style="background-color:yellow">your text</p>
29th Jan 2018, 7:31 AM
Mazin Ayash
Mazin Ayash - avatar
0
on html <p class="moses">my name</p> on css.. p.moses{ background-color:orange; }
1st Feb 2018, 5:50 AM
Moses Ouma
Moses Ouma - avatar