关于错误元素"html"不能嵌套在元素"div"中 [英] About error Element 'html' cannot be nested within element 'div'

查看:206
本文介绍了关于错误元素"html"不能嵌套在元素"div"中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在框架集内添加div时出现错误消息元素html"无法嵌套在元素"div"中.如何解决.

Hi,

I am getting error "Element ''html'' cannot be nested within element ''div''" while adding div inside the frameset.How can it be solved.

推荐答案

不要在div内放HTML标记吗?
每个文档只允许您使用一个HTML标签:它是最外面的元素: W3Schools [
Don''t put an HTML tag inside the div?
You are only allowed one HTML tag per document: it is the outermost element: W3Schools[^]

For some reason, your frameset is adding another, but without better info, we can help no further. Look at the generated code, and try to see where the spare tag is. That should give you a clue.


这篇关于关于错误元素"html"不能嵌套在元素"div"中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆