title: css and js files are not loading using $this->load->view in codeigniter
body: <p>This may be a duplicate question but I'm new in codeigniter. My question is whenever I tried <code>$this-&gt;load-&gt;view('anyhtmlpage.html')</code> it never loads the required css and js files.</p>
  
  <p><strong>Condition:</strong> All files in <code>view</code> must contain pure HTML (no php).</p>
  
  <p>The base url is: <code>$config['base_url'] = 'http://localhost:8081/SVN_propertybooking/branches/dev/Admin/';</code></p>
  
  <p>I also defined <code>$route['default_controller'] = 'Admin';</code> in <code>routes.php</code> and <code>$autoload['helper'] = array('form', 'url');</code> in <code>autoload.php</code></p>
  
  <p>And when I tried like this <code>&lt;link href="../assets/css/bootstrap.min.css" rel="stylesheet"&gt;</code> after <code>$this-&gt;load-&gt;view('anyhtmlpage.html')</code> it loads the css and js files.</p>
  
  <p>But more amazing is when I write <code>header('location:'.base_url());</code> it loads all css and js files.</p>
  
  <p>So what is missing here, help please.</p>
  
  <p><strong>Folder structure:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Cy7gf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cy7gf.png" alt="enter image description here"></a></p>