Do I need a !DOCTYPE declaration in a php file with html?

前端 未结 10 1247
面向向阳花
面向向阳花 2020-12-15 03:16

I have a php file with my website content in it. The file needs to be .php because i get some variables first and then use it later in the website content. Like this example

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 03:48

    
    

    if you put in php file some styles will not work properly, some alignment problems.

    提交回复
    热议问题