开发者

Validation - document type does not allow element "h4" here

开发者 https://www.devze.com 2023-03-06 21:11 出处:网络
I can\'t find out what the problem is with this开发者_C百科 line of code: <h4><span class=\"orange\">mytitle</span></h4>

I can't find out what the problem is with this开发者_C百科 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> ).

0

精彩评论

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

关注公众号