HTML Tag <KBD>

HTML Tag <KBD>

<KBD> Specifies keyboard input within a document.

Attribute of <KBD> Tag

CLASS

Indicates which style class applies to the <KBD> element.

Now press the <KBD CLASS="dkm">F4 </KBD> key!

Possible Values

Any Class Name.



ID

Assigns a unique ID selector to an instance of the <KBD> tag. When you then assign a style to that ID selector, it affects only that one instance of the <KBD> tag.

Press <KBD ID="dkm">F1</KBD> for help.

Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the text within the <KBD> tags.

<KBD STYLE="background: red">F10</KBD>

Possible Values

CSS Property with Value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the keyboard text.

Now press the <KBD TITLE="Keyboard stuff">F4</KBD> key.

Possible Values

Any text Message.




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad