Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<title>Knots to KPH Speed Converter</title>
<body>
<h2>Speed Converter</h2>
<p>Type a value in the Knots field to convert the value to KPH:</p>
<p>
  <label>Knots</label>
  <input id="inputKnots" type="number" placeholder="Knots" oninput="speedConverter(this.value)" onchange="speedConverter(this.value)">
</p>
<p>KPH: <span id="outputKPH"></span></p>
<script>
function speedConverter(valNum) {
  document.getElementById("outputKPH").innerHTML=valNum*1.852;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/howto/tryit.asp?filename=tryhow_js_speed_converter_knots_to_kph by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:51:24 GMT -->
</html>