With citations, the source can be accociated. This can be used by document conversion or with javascript extension as mouseover content (like a "formated" title).
- Code: Select all
...
<p>Lorem ipsum dolor sit</p>
<blockquote for="cite1">Lorem ipsum dolor sit</blockqoute>
<p>Lorem ipsum dolor sit</p>
<blockquote for="cite1">Lorem ipsum dolor sit</blockqoute>
<p>Lorem ipsum dolor sit</p>
<blockquote for="cite2">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</blockqoute>
...
And then, in another place of the document:
- Code: Select all
<ul>
<li><cite id="cite1">From the book blindtext by John Doe</cite></li>
<li><cite id="cite2">From the book blindtext in the depth by John Doe</cite></li>
</ul>
Using it like the W3C-example for <cite>:
- Code: Select all
As <CITE id="HarrySTruman" >Harry S. Truman</CITE> said,
<Q lang="en-us" for="HarrySTruman">The buck stops here.</Q>
He said also <Q lang="en-us" for="HarrySTruman">Good Evening, My Fellow Americans</Q>
A combination of <article> and <form>. The <article> may be able to set the focus on the form.
- Code: Select all
<article for="downloadLogin"><p>To get the software you must login</p></article>
And then, in another place of the document:
- Code: Select all
<form id="downloadLogin">... Login ...</form>
An image description can be combinded with a text. This can be used for more accesibility and to parse documents in a microformats way.
- Code: Select all
<img id="myImage" src="people.gif" alt="people">
<p for="myImage">This is John Doe on the convention</p>
With an additional relation to an <article>, you can parse the related content, for example if you want to change the page layout and you have to retrieve the content inherit from design.
- Code: Select all
<section>
<article id="convention">
<h1>The convention</h1>
<p>Lorem ipsum dolor sit</p>
</article>
</section>
<aside for="convention">
<img id="myImage" src="people.gif" alt="people">
<p for="myImage">This is John Doe on the convention</p>
</aside>
A usecase with microformats:
- Code: Select all
<article>Hello, I'm <span for="commerceNet">John Doe</span></article>
<aside id="commerceNet" class="vcard">
<a class="fn org url" href="http://www.commerce.net/">CommerceNet</a>
<div class="adr">
<span class="type">Work</span>:
<div class="street-address">169 University Avenue</div>
<span class="locality">Palo Alto</span>,
<abbr class="region" title="California">CA</abbr>
<span class="postal-code">94301</span>
<div class="country-name">USA</div>
</div>
<div class="tel">
<span class="type">Work</span> +1-650-289-4040
</div>
<div class="tel">
<span class="type">Fax</span> +1-650-289-4041
</div>
<div>Email:
<span class="email">info@commerce.net</span>
</div>
</aside>
There are several usecases: semantic relations, setting a focus, hightlight related elements, formated "titles" instead of title attribute, retrieve related data. In opposite to <a> anchors, it must not be a link and you can used it with nearly each element.
I don't know how existing UAs handle a for-attribute outside of <label>. "for" is a well-known attribute name, but if it don't work, it must be renamed, for example to "iref" (inline reference).