You are on page 1of 1

<!

DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<script language="JavaScript">
function showInput()
{
document.getElementById('display').innerHTML =
document.getElementById("user_input").value;
}
</script>
<title>User Login</title>
</head>
<body>
<form>
<label><b>Enter User Name</b></label>
<input type="text" name="message" id="user_input">
</form><br>
<input type="Submit" onclick="showInput();"><br>
<p><span style="font-weight:bold" id='display'></span></p>
</body>
</html>

You might also like