The wp_head() template tag must be placed immediately before the closing HTML head tag.