Okay/Spec: Difference between revisions
No edit summary |
|||
| Line 77: | Line 77: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The discovery element is defined as any element with the <code>ok-discover</code> class. Any non-void element can be the discovery element, but it really should be a <code>nav</code> if you can help it. The discovery element must contain a number of anchor (<code>a</code>) elements with valid <code>rel</code> and <code>href</code> attributes. Any invalid anchors | The discovery element is defined as any element with the <code>ok-discover</code> class. Any non-void element can be the discovery element, but it really <span class="should">should</span> be a <code>< nav /></code> if you can help it. The discovery element <span class="must">must</span> contain a number of anchor (<code><a /></code>) elements with valid <code>rel</code> and <code>href</code> attributes. Any invalid anchors <span class="must">must</span> be ignored by the client. The inner text of the anchor elements is not significant and <span class="must">must</span> be ignored by clients. | ||
A list of valid anchor <code>rel</code> attributes and their purposes is described below: | A list of valid anchor <code>rel</code> attributes and their purposes is described below: | ||