+ 1

How to give color to some word?

How to give color to some word? Without using id or class .For example ,when i write word "apple" it must be red.

6th Aug 2018, 7:26 AM
Fury
4 ответов
+ 2
Use inline styling. <h6 style="color:skyblue">hii</h6>
6th Aug 2018, 8:00 AM
Meet Mehta
Meet Mehta - avatar
0
<font color = "red">apple</font>
6th Aug 2018, 7:39 AM
hinanawi
hinanawi - avatar
0
tanks for answering ,but i wanted to ask how to give.color without using css and html.)) For example I have a lot of code examples.So I need to give diffrent color to diffrent tags.Yes,I can use class or id ,but it takes a lot of time.Who knows better way to do it
6th Aug 2018, 8:45 AM
Fury
0
Fury you can always put them into a text editor and change the color, then show them from there. as there is no way to inherently change the color of text on a computer.
6th Aug 2018, 11:17 AM
hinanawi
hinanawi - avatar