Node.js can create a web server and send an HTML page as the response.
const http = require("http");
const server = http.createServer((req, res) => {
res.writeHead(200, {
"Content-Type": "text/html"
});
res.end(`
<h1>Welcome to My Node.js Server</h1>
<p>This HTML is sent by Node.js.</p>
`);
});
server.listen(3000);