HTML code scrip for Ping

Created on 3 July, 2024 • 120 views

HTML code scrip for Ping

<!DOCTYPE html>

<html>

<head>

  <title>Ping Functionality on Blog</title>

</head>

<body>

  <h1>Checking Website Availability</h1>

  <p>Enter a website address to see if it's responding:</p>

  <input type="text" id="websiteInput">

  <button onclick="pingWebsite()">Ping Website</button>

  <div id="pingResult"></div>

</body>

<script>

  // JavaScript code for ping functionality goes here

</script>

</html>