html red text code example

Example 1: 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-->

Example 2: html font size

<span style="font-size:20px;"></span>

Example 3: make text blue html

<p style="color:blue;">This paragraph is blue.</p>

Example 4: how to color in html

<h1 style="color: red;">Hello</h1>

Example 5: html text color

<p style="color: [name od color e.g. 'blue' or hex code e.g. '#ffffff']">
  Hi, I'm coloured </p>

Tags:

Php Example