Okay/Spec: Difference between revisions
No edit summary |
No edit summary |
||
| Line 56: | Line 56: | ||
The discovery element is defined as any element with the “ok-discover” class. Any non-void element can be the discovery element, but it really should be a “nav” if you can help it. The discovery element must contain one or more anchor (a) elements with valid rel and href attributes. Any invalid anchors should be ignored by the client. The inner text of the anchor elements is not significant and must be ignored by clients. | The discovery element is defined as any element with the “ok-discover” class. Any non-void element can be the discovery element, but it really should be a “nav” if you can help it. The discovery element must contain one or more anchor (a) elements with valid rel and href attributes. Any invalid anchors should be ignored by the client. The inner text of the anchor elements is not significant and must be ignored by clients. | ||
A list of valid anchor rel attributes and their purposes | A list of valid anchor rel attributes and their purposes is described below: | ||
Key: ◈ Required, ◇ Optional, ❖ Can be specified multiple times | Key: ◈ Required, ◇ Optional, ❖ Can be specified multiple times | ||