Single sentence <code> Multi-line code display <pre> Keyboard input <kbd>

1. Used to display a single sentence or a single word: <code>...</code>

2. Used to display multiple lines of code: <pre>...</pre>

When the height of the number of lines is greater than 340px, the y-axis scroll bar automatically appears: <pre class="scrollable">......</pre>

3. The content entered by the user through the keyboard, such as ctrl+v: <kbd>If you need the paste function, the shortcut key ctrl+v</kbd>

4. When you want to display <code> on the page, the code is as follows: <code >

<represents< >represents>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324586492&siteId=291194637