itemValue

本項は歴史的事項を説明しています。本項の内容の一部または全部は、現在の状況とは異なるかもしれません。

(なお本項の内容の一部または全部は、互換性または歴史的連続性のために現在も有効な場合もあります。しかし新たに利用することは避けるべきです。)

itemValue

[1] Fix #208: remove the Microdata API · whatwg/html@2aaecb8 ( 版) <https://github.com/whatwg/html/commit/2aaecb89900b875b9ee8357fa8bccf48477358bb>

[2] Sitelinks Search Box  |  Structured Data  |  Google Developers ( 版) <https://developers.google.com/structured-data/slsb-overview>

<div itemscope itemtype="http://schema.org/WebSite">

  <meta itemprop="url" content="https://www.example.com/"/>

  <form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">

    <meta itemprop="target" content="https://query.example.com/search?q={search_term_string}"/>

    <input itemprop="query-input" type="text" name="search_term_string" required/>

    <input type="submit"/>

  </form>

</div>