【发布时间】:2014-06-27 14:35:28
【问题描述】:
我有以下 .html
<p>
<input class="inputName" />
<ul>
<li>One value</li>
</ul>
</p>
在 google chrome、firefox 和 safari 中我得到了(在源代码浏览器中)
<p>
<input class="inputName" />
</p>
<ul>
<li>One value</li>
</ul>
我无法重现该问题,它来自我的 smarty 模板....某处但我不知道在哪里。
我不知道去哪里找。每个标签都是封闭的。你见过这个问题吗?
【问题讨论】:
-
你不能将 ul 元素写入 p! stackoverflow.com/a/5681796/1623198
标签: html google-chrome firefox