Myeclipse 很多标签都有警告说should be an empty-element tag ??
2013-03-24 20:56
141 查看
青岚影视 www.qldyy.net
因为:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
XHTML 对网页标签要求比较严格(相对HTML),必须规范化书写。
所以<input type="password" name="password" id="password">
改成<input type="password" name="password" id="password" />
因为:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
XHTML 对网页标签要求比较严格(相对HTML),必须规范化书写。
所以<input type="password" name="password" id="password">
改成<input type="password" name="password" id="password" />
相关文章推荐
- iOS 整型转换警告"NSInteger' should not be used as format arguments; add an explicit cast to 'long' inste"
- Myeclipse 很多标签都有警告
- Sqlachemy的警告SAWarning: The IN-predicate on "sns_object.BIZ_ID" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate.
- Buttons in button bars should be borderless; use style="?android:attr/buttonBarButtonStyle" (and ?an
- You should be the top dog in your department and always keep an eye on the outside world.
- an software engineer should be
- 50 Android Studio Tips, Tricks & Resources you should be familiar with, as an Android Developer
- 【已解决】Discuz自定义表情后出现array_slice() [function.array-slice]: The first argument should be an array……的解决方法
- ios8调用相机报警告: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure yo
- an software engineer should be
- Android 关于Handler警告处理 This Handler class should be static or leaks might occur
- 85、android handler的警告Handler Class Should be Static or Leaks Occur
- Spring图解将bean标签转换BeanDefinition
- python3 “POST data should be bytes or an iterable of bytes...”的解决方法
- ios9微信支付报警告: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure yo
- webpack 升级Getting error: configuration.resolve.extensions[0] should not be empty
- myeclipse配置 tomcat出现Value must be an existing directory问题
- android警告——Buttons in button bars should be border
- android之lint警告This Handler class should be static or leaks might occur
- Android“This Handler class should be static or leaks might occur”警告的处理方法