color | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

color

why do we have different colors to the tags

17th Oct 2018, 4:48 PM
Kojobarkoh
Kojobarkoh - avatar
2 Answers
+ 4
Are you referring to the syntax highlighting? It is for better readability and also makes it easier to find errors. The syntax highlighting is only for humans to read, it doesn't change the code in any way. More information: https://en.m.wikipedia.org/wiki/Syntax_highlighting
17th Oct 2018, 4:59 PM
Harsh
Harsh - avatar
0
For Readability, Distinguishing Tags, Variables and keywords. Also to, find a syntax or typo.
17th Oct 2018, 5:00 PM
Niush
Niush - avatar