bootstrap快速入门笔记(六)-代码

mac2022-06-30  68

一,内联代码<code>:For example, <code><section></code> should be wrapped as inline.

二,用户输入<kbd>:用户通过键盘输入的内容:

To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br> To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>三,<pre>代码块,多行代码可以使用 <pre><p>Sample text here...</p></pre>---效果:<p>Sample text here...</p>  .pre-scrollable 类,其作用是设置 max-height 为 350px ,并在垂直方向展示滚动条。四,变量:1,<var>:<var>y</var> = <var>m</var><var>x</var> + <var>b</var>效果:y = mx + b五,<samp>标签来标记程序输出的内容。 <samp>This text is meant to be treated as sample output from a computer program.</samp>  

转载于:https://www.cnblogs.com/937522zy/p/5010072.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)