title: Adding script via wordpress wp_enqueue_scripts in the <head>
body: <p>When adding js file via wp_enqueue_scripts it's placed it in the <code>&lt;head&gt;</code> tag in the html source.</p>
  
  <p>But in the DOM (F12) it's placed in the <code>&lt;body&gt;</code>.
  What can be the reason?</p>
  
  <p>This is my page</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;PAGE&lt;/title&gt;
          &lt;link rel="stylesheet" id="query-monitor-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/plugins/query-monitor/assets/query-monitor.css?ver=1478770264" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="font-awesome-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/plugins/wipi-builder/css/font-awesome.min.css?ver=4.6.3" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="mono-social-icons-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/themes/wipi/css/mono-social-icons.css?ver=1.2.1" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="hebrew-fonts-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/themes/wipi/css/hebrew-fonts.css?ver=1.2.1" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="jquery-magnificpopup-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/plugins/wipi-builder/css/jquery.magnificpopup.css?ver=1.2.1" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="wipi-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/uploads/wipi/skin-57f534186c4d2.css?ver=4.6.1" type="text/css" media="all" /&gt;
          &lt;link rel="stylesheet" id="wipi-rtl-css"  href="https://www.sukkah2go.kipa.co.il/wp-content/themes/wipi/css/rtl.css?ver=4.6.1" type="text/css" media="all" /&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>