title: NodeJS, how to render static HTML with Express 4?
body: <p>I need to render HTML files in express 4, I write something like this but not works good.</p>
  
  <pre><code>  app.route('/form1').get(function(req,res){
          res.sendfile('./public/danial/forms/form1.html');
    });
  </code></pre>
  
  <p>This code can send the HTML file ,but it exactly send the HTML file and don't send css or js files that HTML file need them ,this is the logs :</p>
  
  <pre><code>   GET /form1 304 2.743 ms - -
     GET /css/bootstrap.css 404 2.284 ms - -
     GET /css/bootstrap-theme.css 404 2.193 ms - -
     GET /css/bootstrap-switch.css 404 2.226 ms - -
     // and many others
  </code></pre>
  
  <p>I need to do something like this:</p>
  
  <pre><code>   app.get('/', function(req, res) {
        res.render('index.html');
     });
  </code></pre>
  
  <p>how can I fix it?</p>
  
  <p>(many other questions are for express 3 and I can't find answer)</p>