1

如果我像 Example1 一样编码,这将如何影响 seo?(我的意思是第三个 li 标签的内容类型与其他标签的内容类型不同。)

示例 1:

<ul>
  <li>some description of html</li>
  <li>some description of css</li>
  <li>
    other update operation here...
    <input></input>
    <button></button>
  </li>
</ul>

我认为Example2应该没问题。

示例 2:

<ul>
  <li>some description of html</li>
  <li>some description of css</li>
  <li>some description of js</li>
</ul>
4

1 回答 1

3

需要一个更大的图景来决定,但我认为你不应该真正关心这一点。只需让您的网站对用户有用:

需要一个输入和一个按钮作为列表中的第三项?放在那里!这是相当常见的情况,尤其是当您使用无序列表而不是基于表格的布局并且最后一个单元格包含一些操作按钮/输入时。

于 2013-03-19T09:29:35.627 回答