Code blocks in Bootstrap

Опубликовано: 31 Май 2017
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн Code blocks in Bootstrap длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь sk Coders 31 Май 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 182 раз и оно понравилось 4 зрителям. Приятного просмотра!