Google News
logo
Bootstrap-3 - Interview Questions
In Bootstrap what are the two ways you can display the code ?
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 several lines then you should use <pre> tag.
Advertisement