使用aspx删除html 4验证中的短标记

时间:2010-06-15 10:48:26

标签: asp.net html html4

我是HTML 4验证的新手,因为如果我把HEAD运行=“服务器”标签

我收到此错误 - 错误第6行,第82列:此处不允许使用字符数据

... lesheet“type =”text / css“media =”all“/>

在head标签中我调用了css文件。

所以如果有人知道瘦可以帮助我,如何解决这个错误? 提前致谢。抱歉我的英语不好......

1 个答案:

答案 0 :(得分:1)

首先使用此 - <!DOCTYPE HTML PUBLIC“ - // W3C // DTD HTML 4.01 // EN”    “http://www.w3.org/TR/html4/strict.dtd” > 然后试试这个LINK< href =“style / style.css”rel =“stylesheet”type =“text / css”media =“all”>

然后你会得到解决方案。