how we can change the font color and font in the html???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how we can change the font color and font in the html????

27th Aug 2016, 1:40 PM
rashan
rashan - avatar
2 Answers
0
Sure ok you can change the color simply through html try this.. <font color="blue"> Your text here </font>. you can change to whatever color you want but through css you have much more varity for colors. Now for font size you can try this <font size="5"> Hello </font>. You can change the size to anything you want. Ideally you want to use CSS in order to change font size and color etc but this should work just fine. Post if you need any other help!!
27th Aug 2016, 1:57 PM
Kris
0
exp : <p style="color:red;font-family: Courier New"></p>
5th Sep 2016, 9:17 PM
Asrk
Asrk - avatar