Html 在doctype之前添加asp.net代码

Html 在doctype之前添加asp.net代码,html,Html,这是有效的做,我有asp.net代码之前的权利!doctype html标记,它使Internet Explorer进入怪癖模式…这段代码可以添加到doctype之后,仍然可以正常工作吗 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="somepage.index" %> <!doctype html> 你为什么不试试看它是否管用?肯定是别的东西,因

这是有效的做,我有asp.net代码之前的权利!doctype html标记,它使Internet Explorer进入怪癖模式…这段代码可以添加到doctype之后,仍然可以正常工作吗

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="somepage.index" %>

<!doctype html>


你为什么不试试看它是否管用?肯定是别的东西,因为第一行必须是这样的。发布代码隐藏文件