Answers for "change the color of text in html"

19

text color html

<!-- If you want a color on a specific text, use this : -->
<p style="color:---"> Text <p>
  
<!-- Here an exemple if you want a blue text-->
<p stlye="color:blue"> Romuald <p>
  
<!-- If you want a specific class in a color, use css, its better-->
Posted by: Guest on June-15-2020
3

html color text

<!-- <p style="color:enterColor">insertContentHere</p>-->

<p style="color:#0000ff">This text is blue.</p>
<p style="color:rgb(106, 90, 203)">This text is violet.</p>
<p style="color:red">This text is red.</p>
Posted by: Guest on June-14-2021
1

how to change color in html

<body>
  <!-- style color (hex color) + the text -->
  <h1 style ="color: #000000; "> Apples <em>is a tech company</em></h1>
</body>
Posted by: Guest on June-06-2020
0

how to change font colour in html

<font color="red">
  
	Lorem Ipsum
  
</font>
Posted by: Guest on March-04-2020
3

how to change font in html

<font face="yourfont">
  
  Lorem Ipsum
  
</font>
Posted by: Guest on March-04-2020
1

html text color

<p style="color: [name od color e.g. 'blue' or hex code e.g. '#ffffff']">
  Hi, I'm coloured </p>
Posted by: Guest on January-12-2021

Code answers related to "change the color of text in html"

Browse Popular Code Answers by Language