<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 实例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/js/bootstrap.min.js"></script> </head> <body> <div class="container mt-3"> <h1>键盘输入</h1> <p>如需表示通常通过键盘键入的输入内容,请使用 kbd 元素:</p> <p>请使用 <kbd>ctrl + p</kbd> 打开打印对话框。</p> </div> </body> </html>