Wrap inline snippets of code with code tag.
Use the kbd tag to indicate input that is typically entered via keyboard.
Use pre tag for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.You may optionally add the .pre-scrollable class, which will set a max-height of 350px and provide a y-axis scrollbar.
For setting our own max-height of code block use style attribute in pre tag,and within style attribute add two properties max-height and overflow-y:scroll.
For indicating variables use the var tag.
For indicating blocks sample output from a program use the samp tag.
On this page of the site you can watch the video online Code blocks in Bootstrap with a duration of hours minute second in good quality, which was uploaded by the user sk Coders 31 May 2017, share the link with friends and acquaintances, this video has already been watched 182 times on youtube and it was liked by 4 viewers. Enjoy your viewing!