What are the two ways you can display the code in bootstrap?
Answer / Saujanya Yadav
"Code blocks can be displayed in Bootstrap using <pre> and <code> tags or by utilizing the <syntaxhighlight> class. For example:<br>n<pre><code>// Example of inline codenlet x = 5;</code></pre>nOr:n<div class="syntaxhighlight">n<code class="bash">n// Example of syntax highlighting using the <syntaxhighlight> classnnpm install expressn</code>n</div>"
| Is This Answer Correct ? | 0 Yes | 0 No |
it is possible to disable zooming on mobile device while using bootstrap?
What is difference between fluid layout and responsive layout?
When to use bootstrap?
Explain the basic grid structure in bootstrap?
What are the steps to create a progress bar using bootstrap?
Why would you use bootstrap?
Tell me what is column ordering and how it works?
What is img responsive?
What are bootstrap panels?
What is navbar in bootstrap? and why it is used?
What is the current major version of bootstrap?
when we can use <code>tag and <pre>?