How can you display code in Bootstrap?

How can you display code in Bootstrap?

To display code in Bootstrap, we can use “code” tag. Along with it, we can use “pre” tag to in-corporate whitespaces in the lines of code accordingly.