The w3-panel class is used to display examples in a grey container:
The w3-code class is used to display code in a readable mono-spaced font.
fruits[0] = "Banana";
fruits[1] = "Apple";
fruits[2] = "Mango";
fruits[3] = "Plum";
The w3-codespan class is used to highlight inline code:
The html
element defines an HTML page.
91xjr provides a JavaScript library for coloring code.
fruits[0] = "Banana";
fruits[1] = "Apple";
fruits[2] = "Mango";
fruits[3] = "Plum";
You can download the library from here: https://www.91xjr.com/lib/w3codecolor.js
If you use the w3codecolor.js library, you can also use the code classes described below:
The jsHigh class is used to highlight JavaScript code:
The htmlHigh class is used to highlight HTML code:
The cssHigh class is used to highlight CSS code:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!