【发布时间】:2013-03-13 04:00:09
【问题描述】:
在 SSI 文件中包含 DIV 容器元素是一种好习惯,还是应该只将标签放在 DIV 容器中。例如,在下面的代码中,我有一个出现在所有页面下的页脚。我应该只将<p> 和<a> 元素放在SSI 文件中还是将<div> 元素也放在一起?
<div id="footer">
<div class="container">
<div class="wrapper">
<div id="footer_content">
<p>Copyright 2010 New Life e. V.<br />
<a href="en/contact.htm">Contact</a> |
<a href="en/map.htm">Find Us</a> |
<a href="en/impressum.htm">Impressum</a></p>
</div>
</div>
</div>
</div>
【问题讨论】: