Schema: cssSelector
Schema: cssSelector Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: cssSelector.
In-depth Article JSON-LD example wired into the Xoo universe via Jane Xoo's 1945 pediatric paper, the artifact behind the Person example's claim that she redefined modern healthcare for children. Covers author @id references, the datePublished/dateModified/dateCreated triple, the 110-character headline rule, and Google's three-aspect-ratio image requirement.
NewsArticle JSON-LD example for a local business opening reported by the fictional Dunmore Herald. Covers dateline, NewsMediaOrganization as publisher with ethicsPolicy and masthead, speakable for Google Assistant news briefings, the print-edition trio, and @id cross-references to the Xoo Code Shop LocalBusiness.
BlogPosting JSON-LD example for a company blog post about the XooTee t-shirt launch. Covers the Blog container via isPartOf, comment and commentCount for reader discussion, interactionStatistic for engagement metrics, detailed author identity with worksFor cross-reference, and how BlogPosting differs from Article and NewsArticle.
TechArticle JSON-LD example for a developer tutorial on the XooStructured IDE. Covers proficiencyLevel, dependencies, timeRequired in ISO 8601, the CreativeWorkSeries container for documentation sets, and how TechArticle compares to HowTo for instructional content.
WebPageElement JSON-LD example for a component of a web page (header, footer, sidebar, ad block). CreativeWork subtype with cssSelector and xpath. Parent of SiteNavigationElement, Table, WPFooter, WPHeader, WPSideBar, WPAdBlock.
SiteNavigationElement JSON-LD example for site navigation (primary / secondary nav). Direct WebPageElement subtype with no unique properties.
WPHeader JSON-LD example for a page's header region. Direct WebPageElement subtype with no unique properties.
WPFooter JSON-LD example for a page's footer region. Direct WebPageElement subtype with no unique properties.
WPSideBar JSON-LD example for a sidebar region. Direct WebPageElement subtype with no unique properties.
WPAdBlock JSON-LD example for an advertising region of a page. Direct WebPageElement subtype with no unique properties.
Table JSON-LD example for a table within a web page. Direct WebPageElement subtype with no unique properties.
SpeakableSpecification JSON-LD reference — Intangible with cssSelector and xpath fields. Used on Article.speakable to mark spoken-friendly passages for Google Assistant news narration.