Head Content In Body

Hello, I’m new in yii and I post this topic because I have a problem with my head tag.

All my head content is in the body tag when I see my source code. I haven’t this problem in my local version.

This is a screen capture of my problem

5403

Capture.PNG

And this is a screen capture of what it is suppose to have

5404

Capture1.PNG

I’ve noticed that the DOCTYPE doesn’t appear in the error screen capture.

I use Filezila and Netbeans

Please if anybody got a solution

Thanks .

First of all, do not use debug panels to view your source code. What you see there is browser-generated DOM, not server-generated HTML. Use common "view page source" instead.