![](/img/trans.png)
[英]When using <p class=xxx> I am getting the response “No p element in scope but a p end tag seen.” on W3C compliance checker
[英]w3c validator gives me : Error: No p element in scope but a p end tag seen. another question can i nest a block level element inside another one?
这是错误的代码部分,我不知道我在这里做错了什么?
<ol>
<p>
<li> <em> Markup </em>is just a text that has a special meaning also it tellls the browser what the text should look like or how its arranged
</p> it says that this closing hasnt any opening tag
<p>
<li> elements with no contents in it are called "void elements" or "empty elements"
</p>
</ol>
在每个<li>
的末尾添加</li>
<li>
。 同样在<ol>
您不需要<p>...</p>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.