+ 1
How to put different colour for my coding
computer coding
6 Réponses
+ 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 :)
+ 1
i have to study html only
0
Which part do you want to color?
- 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.
- 1
Here is an example:
https://www.sololearn.com/discuss/666215/?ref=app
- 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.