Last active
July 12, 2024 00:42
-
-
Save RanjanSushant/c6f5f86a83a9cc7bcf82623a6883c16b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>WebSockets</title> | |
</head> | |
<body> | |
<!-- Simple HTML page for sending messages with input box and send button--> | |
<h1>Hello WebSockets</h1> | |
<div id="messages"></div> | |
<input type="text" id="message"> | |
<button id="send">Send Message</button> | |
<script src="script.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment