+ 3

how can we change Color of the text

14th Jun 2018, 7:01 AM
Rajnish Kumar
Rajnish Kumar - avatar
2 ответов
+ 3
Use the style attribute with the color property to change the colour of text like this: <p style="color:red;">Some text</p> You can use color names as well as hexadecimal values and RGB values. You can use the style attribute on any HTML element. for more info on color values and RGB and hexadecimal values visit this link here: https://www.w3schools.com/html/html_colors.asp For more details about how to write CSS syntax (because the style attribute uses CSS syntax) visit this link here: https://www.w3schools.com/css/css_syntax.asp Hope you find the info useful
14th Jun 2018, 7:17 AM
Ryan
Ryan - avatar
+ 1
If you are asking about html==> <font color="red">this text is red</font>
14th Jun 2018, 7:16 AM
Navid Shahbazi