Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When will you use <code>tag and <pre>tag?



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

Post New Answer

More Bootstrap Interview Questions

Tell me how to create a navbar in bootstrap?

1 Answers  


What is media object in bootstrap and what are their types?

1 Answers  


How will you create a vertical pills navigation menu?

1 Answers  


How to create thumbnails using Bootstrap?

1 Answers  


when we can use <code>tag and <pre>?

1 Answers  


What are the typography and links in bootstrap?

1 Answers  


How are pagination is classified in bootstrap

1 Answers  


What is the role of the media objects in bootstrap and how many types are available?

1 Answers  


Describe bootstrap panel?

1 Answers  


How to use modal popup in bootstrap?

1 Answers  


What are the different ways of using bootstrap?

1 Answers  


How will you create a bootstrap alert?

1 Answers  


Categories