Home>Article>Web Front-end> How to set the color of label label in html
htmlHow to set the label color: 1. Use the style attribute of the label tag and add the "color: color value;" style; 2. Use the style attribute of the label tag and add "background-color: color value;" "style.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
Method 1: Use the style attribute to add the "color: color value;" style
Rendering:
##Method 2: Use the style attribute to add the "background-color: color value;" style
Rendering: Recommended tutorials:html video tutorial,css video tutorial
The above is the detailed content of How to set the color of label label in html. For more information, please follow other related articles on the PHP Chinese website!