NutzCN Logo
灌水 测试一下发布
发布于 1477天前 作者 xingkenny 459 次浏览 复制 上一个帖子 下一个帖子
标签:
  <div itemscope itemtype="http://schema.org/WebSite">
    <meta itemprop="url" content="${conf["website.urlbase"]}"/>
    <form id='search_form' class='navbar-search' action="${ctxPath}/yvr/search" itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
      <meta itemprop="target" content="${conf["website.urlbase"]}${ctxPath}/yvr/search?q={q}"/>
      <input type='text' id='q' name='q' class='search-query span3' value='' itemprop="query-input" required/>
    </form>
  </div>

和下面这段有什么区别呢?

  <div>
    <form id='search_form' class='navbar-search' action="${ctxPath}/yvr/search" >
      <input type='text' id='q' name='q' class='search-query span3' value='' required/>
    </form>
  </div>
1 回复
  <div itemscope itemtype="http://schema.org/WebSite">
    <meta itemprop="url" content="${conf["website.urlbase"]}"/>
    <form id='search_form' class='navbar-search' action="${ctxPath}/yvr/search" itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
      <meta itemprop="target" content="${conf["website.urlbase"]}${ctxPath}/yvr/search?q={q}"/>
      <input type='text' id='q' name='q' class='search-query span3' value='' itemprop="query-input" required/>
    </form>
  </div>

  和下面这段有什么区别呢?

  <div>
    <form id='search_form' class='navbar-search' action="${ctxPath}/yvr/search" >
      <input type='text' id='q' name='q' class='search-query span3' value='' required/>
    </form>
  </div>
添加回复
请先登陆
回到顶部