8 asp.net webforms content-type xhtml-1.0-strict
我将我的doctype指定为xhtml strict,但它是作为text/html的内容类型通过网络发送的.我想指定内容类型是application/xhtml + xm,但我无法弄清楚我可以在我的应用程序中配置它的位置
Mit*_*ers 15
您可以在@ page attributes部分中指定它,如下所示:
<%@ Page ContentType="application/xhtml+xm" %>
Run Code Online (Sandbox Code Playgroud)
...更多关于MSDN.
| 归档时间: |
|
| 查看次数: |
16921 次 |
| 最近记录: |