What to display code in bootstrap?
Answer / 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 |
What are the Features of Bootstrap?
what is maxcdn bootstrap?
How to classified pagination in bootstrap?
What are the components of bootstrap?
Tell us what contextual classes are available to style the panels?
When we click outside of modal popup, it will close, how to resolve it?
Which components are there in bootstrap?
How many types media objects in bootstrap?
What If There Are More Than 12 Column Being Used In The Bootstrap Grid System? Does It Still Work?
What are the input groups in bootstrap?
How you can create nav elements in bootstrap?
Do you know in bootstrap what are the two ways you can display the code?