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 |
Tell me how to create a navbar in bootstrap?
What is media object in bootstrap and what are their types?
How will you create a vertical pills navigation menu?
How to create thumbnails using Bootstrap?
when we can use <code>tag and <pre>?
What are the typography and links in bootstrap?
How are pagination is classified in bootstrap
What is the role of the media objects in bootstrap and how many types are available?
Describe bootstrap panel?
How to use modal popup in bootstrap?
What are the different ways of using bootstrap?
How will you create a bootstrap alert?