Node.js doesnt use an HTTP server like Apache. In fact, its up to us to create the server! Isnt that great? We know how to return HTML, but at the moment our app is returning the same thing every time. How do I create different pages with Node.js? Thanks. Recommendnode.js - How to properly include external css and js files in index.html served with express/ nodejs.6.html5 - Video streaming with HTML 5 via node.js. Related. node.js - how to invoke static html pages in expressjs. node.js - Using HTML in Express instead of Jade. In the SlideShare presentation below, Prasad discusses what impact mobile has on architecture, explaining how HTML5 and Node.js can help, and sharing how to use these technologies effectively at scale. A year ago I posted an article on how to get started with real time interaction by using Node.js, HTML5 and some powerful frameworks built on those technologies. Use jQuery just as in any regular HTML page. var window.
jQuery, body (body)Final Thoughts. I hope Ive demonstrated how easy it is to begin using Node.js, Express and npm. In this video I will show you how to use html file in Node.