Explain the two codes that are used for code display in Bootstrap?

devquora
devquora

Posted On: Feb 22, 2018

 

There are two simple ways to display code in Bootstrap:

  • <code> tag: In case you wish to display an inline code, simply add '<code> tag'
  • <pre> tag: In case you have a code with several lines or even a block element, you can display it using '<pre> tag'

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Bootstrap Interview Questions

    Explain What is Bootstrap?

    Bootstrap is a platform for web development that is based on a front-end framework and creates exceptional responsive d..

    Bootstrap Interview Questions

    Explain why you prefer Bootstrap for website development?

    Bootstrap has features that are way better than other web development platforms. It provides an extensive browser suppo..

    Bootstrap Interview Questions

    What are the key components of Bootstrap?

    In total, there are five key components of Bootstrap i.e. CSS (multiple CSS files), Scaffolding (essential for the basi..