<label id="input"></label> <input type="text" onkeydown="document.getElementById('input').innerHTML=this.value" />