+ 1

Can anyone please tell me how to permanently color the text in the text area?

https://code.sololearn.com/WxMvt3kMoGxp/?ref=app

10th Jun 2019, 2:01 PM
Lucky victory
Lucky victory - avatar
7 Réponses
+ 1
Hi steve, maybe you mean "syntax highlighting" ( https://www.google.com/search?q=syntax+highlight ) or maybe not...??
10th Jun 2019, 5:02 PM
777
777 - avatar
+ 9
Add this to your css: textarea{ color: blue; }
10th Jun 2019, 3:22 PM
Mitali
Mitali - avatar
+ 4
Either use css like the other css in your code, or use <textarea color="color"> Both work. Just a note though, I'm getting a few syntax errors from your code. Haven't looked at it properly, but things like the <center> tag are no longer supported.
10th Jun 2019, 2:17 PM
River
River - avatar
+ 4
Like a highlight? We use the <mark> tag for that. If that is what you mean.
10th Jun 2019, 2:37 PM
River
River - avatar
+ 1
i dont know
11th Jun 2019, 6:41 AM
Spyr0l
Spyr0l - avatar
+ 1
same idk
11th Jun 2019, 6:41 AM
Advay
Advay - avatar
0
River i mean a separate colors , like words in "quotes will have a different color etc. BTW thanks for the syntax correction
10th Jun 2019, 2:35 PM
Lucky victory
Lucky victory - avatar