开发者

Is there a html validator that can point to a mismatches like this?

开发者 https://www.devze.com 2023-01-08 13:04 出处:网络
Occasionally press a hyphen so the first symbol in a html file (php generated) was not a tag start, but a general symbol. Firefox didn\'t care about it (it was a joomla source), but IE acted like I di

Occasionally press a hyphen so the first symbol in a html file (php generated) was not a tag start, but a general symbol. Firefox didn't care about it (it was a joomla source), but IE acted like I did something more dangerous: not centered table, misaligned text, looked like a complete mess. I know that there are always things like this, but I wasted a couple of hours to figure out what was going on. Is there a html validator that can开发者_运维问答 point to things like this?

Thanks


Total Validator would flag it with This element is not recognised.


Most validators will do that.

Try the w3c validator. I tried a valid file with a symbol at the start and it flagged it.

0

精彩评论

暂无评论...
验证码 换一张
取 消