Type a key to see its value.

document.f.t
Notes:
SHIFT, ALT and CTRL are each keystrokes
A Capital letter consists of two keystrokes.
Source code:
	kc=event.keyCode;
	S=String.fromCharCode(event.keyCode);
	document.f.t.value+=kc+":"+S+"\n";

Something similar, for both browsers