![]() |
VOOZH | about |
W3.CSS provides several classes for displaying inline and multiline blocks of code.
Displaying Inline Code: Inline code should be wrapped in <code> tags with w3-codespan as the class. The resulting text will be displayed in a fixed-width font and given a red font color with a light grey background.
Note: The < and > tags should be replaced with < and > respectively.
Example:
Output:
👁 ImageDisplaying Multiline Code Blocks: Multiline code should be wrapped in <div> tags with class w3-code. The resulting text will be displayed in a readable mono-spaced font with spaces and line breaks being preserved.
Note: The < and > tags should be replaced with < and > respectively.
Example:
Output:
👁 Image