url

From getSchema

Revision as of 11:27, 7 December 2012 by Admin66 (Talk | contribs)
(diff) ? Older revision | Latest revision (diff) | Newer revision ? (diff)

Jump to: navigation, search

This Page Semantic Annotations

Domain = Thing
Range = Text
Cardinality = 1

Description

url is a URL property designed to encode the URL of any Schema.org item. url is defined by the top schema.org type Thing therefore it is inherited by all types. That means that any artifact on the Web may have its own URL.

The typical usage is with the help of itemprop attribute inside of any HTML element.

Examples

A simple example when url is part of a context:

<div itemscope itemtype="http://schema.org/Restaurant">  <h1><a href="http://www.therootsrestaurant.com" itemprop="url">Roots Restaurant</a></h1> ... </div>

In the above example, the intended value of the url property is the value of the href attribute, http://www.therootsrestaurant.com.

At this time we see that a url must always be part of a specified context (by means of first parent element containing itemscope attribute)

Personal tools

Namespaces

Variants

Actions

Navigation

Toolbox