red; CSS style: red ."/> red; CSS style: red .">
Home > Article > Backend Development > How to set php font color
How to set PHP font color:
The font color is ultimately controlled by HTML element attributes or CSS styles, and PHP is output at most.
Related recommendations: "PHP Getting Started Tutorial"
HMTL Element Attributes
红色
or
红色
CSS style
红色 红色
Or directly use the style of the element to set
红色
PHP output:
echo '红色';
The above is the detailed content of How to set php font color. For more information, please follow other related articles on the PHP Chinese website!