Declaring DIAS-aware parts of a page
When a web page features a DIAS identification mechanism in one or several zones of it, it can ease clients' automatic processing by signalling the differents zones in the HTML header using link elements with a 'DIAS.zone' rel attribute, like this:
<head> ... <link rel="DIAS.zone" href="#auth-ticket" title="User authentication" /> <link rel="DIAS.zone" href="#poll-ticket" title="Poll for visitors" /> ... </head>
Each link element references the zone in the page (usually an input box) where the user will provide the ticket when they have received it from the agent.
Advertising a DIAS agent
An identification zone can indicate formally what agent does the ticket delivery for it. To achieve this, it simply has to be placed inside an anchor tag with a 'DIAS.agent' rel attribute and pointing to the agent's JID (as described in RFC 4622), like this:
<a href="xmpp:foo@website.com/Agent" rel="DIAS.agent">
<input id="auth-ticket" ... />
</a>
...
<a href="xmpp:polls@partner.net" rel="DIAS.agent">
<input id="poll-ticket" ... />
</a>
Of course, an anchor may contain several input zones if they are handled by the same DIAS agent.