core + pending (Pending Extension): these terms are pending wider review. Feedback is welcomed!

cssSelector

Defined in the pending.schema.org extension.
Canonical URL: http://schema.org/cssSelector

Thing > Property > cssSelector

A CSS selector.

Usage: Fewer than 10 domains
Values expected to be one of these types
Text
Used on these types
SpeakableSpecification

Source

https://github.com/schemaorg/schemaorg/issues/1389



Examples

Example 1
An example of 'speakable' markup (JSON-LD only, initially).
TODO
TODO
{
 "@context": "http://schema.org/",
 "@type": "WebPage",
 "name": "Jane Doe's homepage",
 "speakable":
 {
  "@type": "SpeakableSpecification",
  "cssSelector": ["headline", "summary"]
  },
 "url": "http://www.janedoe.com"
 }
 TYPES: speakable
 PRE-MARKUP:
 An example of 'speakable' markup (JSON-LD only, initially).
 MICRODATA:
 TODO
 RDFA:
 TODO
 JSON:
 {
  "@context": "http://schema.org/",
  "@type": "WebPage",
  "name": "Jane Doe's homepage",
  "speakable": [ "#myhead1", "#thesummary"],
  "url": "http://www.janedoe.com"
  }
Example 2
An example of 'speakable' markup (JSON-LD only, initially).
TODO
TODO
{
 "@context": "http://schema.org/",
 "@type": "WebPage",
 "name": "Jane Doe's homepage",
 "speakable":
 {
  "@type": "SpeakableSpecification",
  "cssSelector": ["headline", "summary"]
  },
 "url": "http://www.janedoe.com"
 }
 TYPES: speakable
 PRE-MARKUP:
 An example of 'speakable' markup (JSON-LD only, initially).
 MICRODATA:
 TODO
 RDFA:
 TODO
 JSON:
 {
  "@context": "http://schema.org/",
  "@type": "WebPage",
  "name": "Jane Doe's homepage",
  "speakable": [ "#myhead1", "#thesummary"],
  "url": "http://www.janedoe.com"
  }

Schema Version 3.2