HTML and CSS Reference
Drafts and Future Microformats
The number of newly developed microformats is increasing. You can apply them to provide specific metadata on a
wide variety of resources.
Address information can be described by adr . Geographic coordinates (latitude-longitude pairs) can be
provided according to the World Geodetic System (WGS) with the geo microformat . hAtom can be used for web
syndication . Information about audio recordings can be embedded by using the hAudio microformat . The
hListing microformat can be applied for open, distributed listings . Image, video, and audio media components
can be described by hMedia . hNews is a microformat to provide news content on web sites . Product
descriptions can be expressed in hProduct . Cooking and baking recipes can be described on the Web with
hRecipe . Resumes and CVs can be published with hResume . Document reviews can be written in hReview
. The rel-directory microdata can indicate that a link destination is a directory listing that refers to the current
page . File attachments provided for downloading can be indicated by the rel-enclosure microformat .
rel-home provides a hyperlink to the home page of the web site . The rel-payment microformat is an online
payment mechanism . The reworking of the robots meta tag is the robots-exclusion microformat . The
xFolk microformat (stands for xFolksomony) was designed for publishing collections of bookmarks .
The Microformats Community welcomes metadata enthusiasts to create new microformats .
The concept of microdata was introduced in HTML5 for labeling content to describe a specific type of information .
HTML5 microdata can be used for semantical descriptions of people, organizations, events, products, reviews,
■ Many descriptions provided in htML5 microdata can also be expressed in microformats (discussed earlier),
as well as in rdFa (as you will see later). however, each format has its strengths and weaknesses, as will be described
later in detail.
A variety of metadata can be used to describe a person on the Web. One of the options to express properties such as
name, job title, or address is microdata. A person can be described with microdata as shown in Listing 7-26.
Listing 7-26. Describing a Person with Microdata
<span itemprop="name">Leslie Sikos</span> is the
<span itemprop="title">manager</span> of
<span itemprop="affiliation">Sikos Web Consulting</span>.