This chapter is from the book

This chapter is from the book

Server-Side JavaScript

JavaScript is even becoming available on web servers these days, not just in
web browsers. Only a few web servers support server-side JavaScript at the
moment, but their number is growing. To embed JavaScript to be run on the web
server in a web page, you use the <SERVER> element.

This element holds server-side JavaScript code, which is code that runs on
the server. For example, here's how you would display a server's
Internet address in a web page if server-side JavaScript is enabled: