HTML5 > Structures

Keyboard input in HTML5

How to indicate the text to be entered by the User in HTML5?

The word 'kbd' represents the ‘Keyboard input’. By using the <kbd> tag we can indicate the text to be entered by the User.

    It defines the keyboard input.
    <h1>Hello hello <q>hello</q>, this is async attribute of script element.</h1>
    Enter something here <kbd>Axddd</kbd> 
    <br />

Notice that the text inside the <kbd> tag is the text to be entered by the user.


 Views: 4439 | Post Order: 76

Write for us

Hosting Recommendations