HTML KBD Keyboard elements

Source: Internet
Author: User

1. Description

kbd : Keyboard INPUT element (keyboard input elements). Represents the semantic elements of keyboard keys, often used on Web pages for shortcut keys, key description of the scene.

style specification : inline style.

To highlight on a page, you can add a style to the KBD element:

KBD {    -webkit-border-radius:4px;    -moz-border-radius:4px;    -o-border-radius:4px;    -khtml-border-radius:4px;    border-radius:4px;    Border-style:outset;    border:1px solid #aaa;    Background: #fafafa;    padding:0px 3px 1px 3px;    margin:0px 0px 0px 0px;    Vertical-align:baseline;    Line-height:1.8em;    White-space:nowrap;}

2. Demo

================================== Series article ==========================================

This article: 1.6 HTML KBD keyboard elements

Web Development Road Series articles

HTML KBD Keyboard elements

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.