Microdata (HTML): Difference between revisions

Content deleted Content added
Example: fix syntaxhighlight errors
Example: plainlinks
Line 23:
 
== Example ==
The following "html"HTML5 markup may be found on a typical “About” page containing information about a person:
 
<syntaxhighlight lang="html">
Line 59:
 
The following text shows how Google parses the Microdata from the above example code. Developers can test pages containing Microdata using Google's ''Rich Snippet Testing Tool''.<ref name="GoogleRS"/>
<div class="plainlinks">
 
Item
Type: http://schema.org/Person
Line 73:
addressLocality = Warner Robins
addressRegion = Georgia
</div>
 
The same machine-readable terms can be used not only in HTML Microdata, but also in other annotations such as [[RDFa]] or [[JSON-LD]] in the markup, or in an external [[Resource Description Framework|RDF]] file in a serialization such as [[RDF/XML]], [[Notation3]], or [[Turtle (syntax)|Turtle]].