HTML and CSS Reference
In-Depth Information
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 [52]. Geographic coordinates (latitude-longitude pairs) can be
provided according to the World Geodetic System (WGS) with the geo microformat [53]. hAtom can be used for web
syndication [54]. Information about audio recordings can be embedded by using the hAudio microformat [55]. The
hListing microformat can be applied for open, distributed listings [56]. Image, video, and audio media components
can be described by hMedia [57]. hNews is a microformat to provide news content on web sites [58]. Product
descriptions can be expressed in hProduct [59]. Cooking and baking recipes can be described on the Web with
hRecipe [60]. Resumes and CVs can be published with hResume [61]. Document reviews can be written in hReview
[62]. The rel-directory microdata can indicate that a link destination is a directory listing that refers to the current
page [63]. File attachments provided for downloading can be indicated by the rel-enclosure microformat [64].
rel-home provides a hyperlink to the home page of the web site [65]. The rel-payment microformat is an online
payment mechanism [66]. The reworking of the robots meta tag is the robots-exclusion microformat [67]. The
xFolk microformat (stands for xFolksomony) was designed for publishing collections of bookmarks [68].
The Microformats Community welcomes metadata enthusiasts to create new microformats [69].
HTML5 Microdata
The concept of microdata was introduced in HTML5 for labeling content to describe a specific type of information [70].
HTML5 microdata can be used for semantical descriptions of people, organizations, events, products, reviews,
and links.
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
<div itemscope itemtype=" " >
<span itemprop="name">Leslie Sikos</span> is the
<span itemprop="title">manager</span> of
<span itemprop="affiliation">Sikos Web Consulting</span>.
Search WWH ::

Custom Search