
We use tag to define keyboard input. It is a phrase tag that is used to identify text that represents user keyboard input. The content inside is displayed in the default monospace font by most browsers. We can override the font using style sheet.
Syntax
Keyboard text…
Example 1
Following is the example using the tag in HTML −
Open a new file using the keyboard shortcut Ctrl + N
PressCtrl +
C to copy text from the file.PressCtrl +
P to paste text to the file.立即学习“前端免费学习笔记(深入)”;
Example 2
的中文翻译为:示例2
这个标签可以在HTML文档中使用,如下所示 −
启科网络商城系统由启科网络技术开发团队完全自主开发,使用国内最流行高效的PHP程序语言,并用小巧的MySql作为数据库服务器,并且使用Smarty引擎来分离网站程序与前端设计代码,让建立的网站可以自由制作个性化的页面。 系统使用标签作为数据调用格式,网站前台开发人员只要简单学习系统标签功能和使用方法,将标签设置在制作的HTML模板中进行对网站数据、内容、信息等的调用,即可建设出美观、个性的网站。
Two special keys in keyboard are:ctrl, alt.
Example 3
我们还可以在HTML文档中为键盘值添加样式。
Open a new file using the keyboard shortcut Ctrl + N
PressCtrl +
C to copy text from the file.PressCtrl +
P to paste text to the file.立即学习“前端免费学习笔记(深入)”;










