标签中的代码显示在标签中而不是标签中?

时间:2018-09-26 14:27:36

标签: html codeigniter-3

我的控制器:

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Dashboard extends MY_Controller {

    public function index()
    {
        $this->load->view('admin/dashboard');
    }
}

查看文件:

<!DOCTYPE html>
<html lang="en">
<head>
    <title>test</title>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

</div>
</body>
</html>

但是当我用f12镀铬检查时,结果是:

enter image description here

元标记和标题在正文中?

0 个答案:

没有答案