When will you use <code>tag and <pre>tag?
Answer / Rohit Singh
The HTML `<code>` tag is used for displaying a short section of computer code, or other inline text that should be treated as code. On the other hand, the `<pre>` (short for preformatted) tag is used when you want to showcase larger blocks of preformatted text or code, while maintaining its original spacing and line breaks. In Bootstrap, both tags can be styled with syntax highlighting using external libraries like PrismJS.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are bootstrap grids?
How will you create a progress bar using bootstrap?
Do you know what are input groups?
How can you create nav elements in bootstrap?
Tell us what contextual classes are available to style the panels?
What is button group and which class is used for basic button group?
How will you create a stacked progress bar using bootstrap?
How to create thumbnails using Bootstrap?
What are offset columns in Bootstrap?
Does bootstrap supports all the modern browsers?
How will you create a tabbed navigation menu?
Why to choose bootstrap for building the websites?