Invalid location of tag 解决方案

Invalid location of tag 解决方案

  1. Invalid location of tag (form)
    form 应该写到table外面去,form标签只能嵌套进入div等行级元素中,放进块元素会报invalid。

  2. Invalid location of tag (style)
    style应该写在head里面。

  3. Invalid location of tag (script)
    script应该写到body,head里面。

  4. Attribute name(Name) uses wrong case character
    虽说HTML不区分大小写,但是在Myeclipse里面,大写的话就报错,所以,还是乖乖的改成小写吧。

  5. Invalid location of tag (div)
    这个错误是因为div的标签使用不当,需要更换为标签

发布了33 篇原创文章 · 获赞 42 · 访问量 1958

猜你喜欢

转载自blog.csdn.net/CodingNO1/article/details/104551316