In bootstrap you can display code in two ways
- <code> tag : If you are going to display code inline, you should use <code> tag
- <pre> tag: If you want to display the code as a standalone block element or it has multiple lines then you should use <pre> tag
Leave a Reply