How to put different colour for my coding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to put different colour for my coding

computer coding

29th Aug 2017, 11:46 AM
divya anand
divya anand - avatar
6 Answers
+ 1
If you're referring to Syntax Highlighting use another text editor. Personally, I use Notepad++ If you want to change the text colour (sorry, color!) of your document etc, then you need CSS. Start the tutorial, it will become clear within minutes :)
29th Aug 2017, 12:24 PM
Cyb3rMann
Cyb3rMann - avatar
+ 1
i have to study html only
29th Aug 2017, 1:26 PM
divya anand
divya anand - avatar
0
Which part do you want to color?
29th Aug 2017, 11:59 AM
Calviղ
Calviղ - avatar
- 1
If you're talking about text color in your document, you can't. Styling, including color, is done with CSS. You can use inline styles in your html document, but it's still CSS.
29th Aug 2017, 1:30 PM
Cyb3rMann
Cyb3rMann - avatar
29th Aug 2017, 1:54 PM
Cyb3rMann
Cyb3rMann - avatar
- 1
Try this <p style="color:red">Red color text</p> on Code Playground. It would create text in red color. Next try this <body style="background-color:green"> <p style="color:red">Red color text</p> </body> on Code Playground. It would create text in red color and page background color in green color. You should go to take HTML and CSS courses in Sololearn app Learn section, in order to fully understand how HTML form webpage and CSS styles webpage.
29th Aug 2017, 1:59 PM
Calviղ
Calviղ - avatar