name
This Page Semantic Annotations
- type = http://schema.org/CreativeWork
- name = name
- url = http://getschema.org/index.php/name
- inLanguage = en
- discussionUrl = http://getschema.org/index.php/Talk:name
- publisher = http://binarypark.org
- publishingPrinciples = getSchema:About
- dateModified = 2012-12-07
- interactionCount = 1,142,878
- version = 1295
Domain = Thing |
Range = Text |
Cardinality = 0..1 |
Description
name is a Text property designed to encode the name of any Schema.org item. name is defined by the top schema.org type Thing therefore it is inherited by all types.
Sometimes one may think name as a title of an article or the name of a place
The typical usage is with the help of itemprop attribute inside of any HTML element.
Examples
A simple example when name is part of a context:
<div itemscope itemtype="http://schema.org/Restaurant"> <h1> <a href="http://www.therootsrestaurant.com" itemprop="url"> <span itemprop="name">Roots Restaurant</span> </a> </h1> ... </div>
At this time we see that a name must always be part of a specified context (by means of first parent element containing itemscope attribute)