+ 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❤❤
5 Antworten
+ 18
you can use font tag like:
<font color=" ">
some text
</font>
https://code.sololearn.com/W6743WnUCR4I/?ref=app
+ 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>
+ 4
in <head>:
<style>
p {
color:your favorite color;
}
</style>
0
you can use the "style" attribute like
<p style="color:red"></p>
0
search it in google and you will get more HTML color sheet