Bootstrap 4 Multiple Code Lines: Formatting and Usage Guide
☰Fullscreen
Table of Content:
Only Important Code
Multiple Code Lines
For multiple lines of code, use the pre element:
Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks.
Full Code For The Above Example
See Live Preview of the above codeBootstrap Example Multiple Code Lines
For multiple lines of code, use the pre element:
Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks.