Edit This Code:
See Result »
W3.CSS
Colored Code
W3Schools provides a JavaScript library for displaying colored code.
JavaScript Example
fruits[0] = "Banana";
fruits[1] = "Apple";
fruits[2] = "Mango";
fruits[3] = "Plum";
Result: