HTML鍵盤輸入元素()用于表示用戶輸入,它將產生一個行內元素,以瀏覽器的默認monospace字體顯示。
瀏覽器支持
示例
type the following in the run dialog: cmdthen click the ok button.

save the document by pressing ctrl + s
結果:此顯示效果為 MDN 特殊顯示效果,無法更改。具體顯示效果請自行測試。
type the following in the run dialog:cmdthen click the ok button.
save the document by pressing ctrl+s