Answer Posted / Amar Dixit
To display code in Bootstrap, you can use the `<pre>` tag and apply the `lang-*` class for syntax highlighting. For example:
<pre><code class="lang-python">
def hello_world():
print("Hello, world!")
</code></pre>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers