验证 - 文档类型不允许元素“h4”这里 [英] Validation - document type does not allow element "h4" here
本文介绍了验证 - 文档类型不允许元素“h4”这里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< h4> 我无法找出问题出在这行代码上:类= 橙色 > mytitle< /跨度>< / H4>
这是我收到的错误消息:
< blockquote>
文档类型不允许元素
h4在这里;
需要改变?
干杯
麦克风
解决方案
< h4> $ c $ (像所有标题)是一个块级元素。您可能已将其直接放入不允许的东西内,如
< table>
或< tr>
或内联元素(< span>
,< a>
)。
I can't find out what the problem is with this line of code:
<h4><span class="orange">mytitle</span></h4>
This is the error message I receive:
document type does not allow element "h4" here;
What do I need to change? Cheers Mic
解决方案
<h4>
(like all headers) is a block level element. You've probably put it directly inside something that doesn't allow it, like <table>
or <tr>
or an inline element (<span>
, <a>
).
这篇关于验证 - 文档类型不允许元素“h4”这里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文