Code blocks in Bootstrap

Veröffentlicht am: 31 Mai 2017
auf dem Kanal: sk Coders
182
4

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.


Auf dieser Seite können Sie das Online-Video Code blocks in Bootstrap mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer sk Coders 31 Mai 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 182 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!