<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Type your name</p>
<input type="text" oninput="myFunction(this)">
<p id="point"><p>
<script>
function myFunction(x) {
var txt="Your Name is " +x.value
document.getElementById("point").innerHTML = txt;
}
</script> </body>
</html>