+ 4

How to color text in HTML?

im learning html and programmibg a project right now but i forgot how to color text, help is appreciated❤❤

30th May 2018, 10:54 PM
VD30
VD30 - avatar
5 Antworten
+ 18
you can use font tag like: <font color=" "> some text </font> https://code.sololearn.com/W6743WnUCR4I/?ref=app
30th May 2018, 11:59 PM
AliR૯za
AliR૯za - avatar
+ 5
VD30 You can use style in head tag or in your paragraph tag. like this: <head> <style> p{ color:#0000ff; } </style> </head> <body> <p> your text </p> </body> or in your opening p tag : <p style="color:#00f"> your text </p>
31st May 2018, 8:17 AM
Marjaneh Mahmoodi
Marjaneh Mahmoodi - avatar
+ 4
in <head>: <style> p { color:your favorite color; } </style>
31st May 2018, 12:30 AM
amirreza mehrabifar
amirreza mehrabifar - avatar
0
you can use the "style" attribute like <p style="color:red"></p>
31st May 2018, 12:14 AM
Daniel Silva
Daniel Silva - avatar
0
search it in google and you will get more HTML color sheet
31st May 2018, 3:37 PM
Mohammad Irfan
Mohammad Irfan - avatar