The anchor HTML tag¶
The anchor HTML tag is used to create hyperlinks. See MDN : The Anchor element for its description.
The goal here is to test variations of the attributes.
Objects¶
Object 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev'>funfedi</a>",
"id": "http://actor.example/object/lACINKC7Ets",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' hreflang='en'>hreflang en</a>",
"id": "http://actor.example/object/jm0SV3gzoHM",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_self'>target _self</a>",
"id": "http://actor.example/object/QShPXAf-Ec0",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_blank'>target _blank</a>",
"id": "http://actor.example/object/lpDFjVUXG9w",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='fun-red-link'>fun-red-link class</a>",
"id": "http://actor.example/object/HzD-EYYgFg8",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='mention'>class mention</a>",
"id": "http://actor.example/object/MZjcq_hCUXk",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='hashtag'>class hashtag</a>",
"id": "http://actor.example/object/PBj-c4-86Nw",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev/assets/samples.zip' download='samples.zip'>download</a>",
"id": "http://actor.example/object/4tnRZbsM7ag",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='tag'>rel tag</a>",
"id": "http://actor.example/object/wC-z6iVqzHU",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='nofollow'>rel nofollow</a>",
"id": "http://actor.example/object/1DRwTaYMtR0",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 11¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='opener'>rel opener</a>",
"id": "http://actor.example/object/seTVByVv1ZA",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 12¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noopener'>rel noopener</a>",
"id": "http://actor.example/object/nR1wLNP0yAo",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 13¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noreferrer'>rel noreferrer</a>",
"id": "http://actor.example/object/BMhrjhoJtnk",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 14¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='custom'>rel custom</a>",
"id": "http://actor.example/object/PerADQr4bp4",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 15¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='me'>rel me</a>",
"id": "http://actor.example/object/2Nb_gOdAFtA",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 16¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='external'>rel external</a>",
"id": "http://actor.example/object/-U7Uvfo7FUI",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 17¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='canonical'>rel canonical</a>",
"id": "http://actor.example/object/eAkfoS1csLQ",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 18¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='alternate'>rel alternate</a>",
"id": "http://actor.example/object/S_-_IpiABaQ",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Activities¶
Activity 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/sDiKOnxNPEQ",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev'>funfedi</a>",
"id": "http://actor.example/object/iKyL0EwS8e4",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/5hA1FJ8SRVA",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' hreflang='en'>hreflang en</a>",
"id": "http://actor.example/object/8gjZhcfQXY4",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/x2eBU1wkg-k",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_self'>target _self</a>",
"id": "http://actor.example/object/E6Jn6mxuqNw",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/7VoMQFKk3qk",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_blank'>target _blank</a>",
"id": "http://actor.example/object/MGPtE29b3N0",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/MVOxmgXmm5M",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='fun-red-link'>fun-red-link class</a>",
"id": "http://actor.example/object/e5UIP8npIMI",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/A_NzXGgM1-k",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='mention'>class mention</a>",
"id": "http://actor.example/object/wN-4gvVCNak",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/B5v_lwH_eUo",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='hashtag'>class hashtag</a>",
"id": "http://actor.example/object/VdGV8ESElfo",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/vBeRbtWg1sI",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev/assets/samples.zip' download='samples.zip'>download</a>",
"id": "http://actor.example/object/Rj671KtyTrs",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/S1zrIGcBt1M",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='tag'>rel tag</a>",
"id": "http://actor.example/object/8b7p1iSeQC4",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/QzsRwK61954",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='nofollow'>rel nofollow</a>",
"id": "http://actor.example/object/6hbiqDwe-wg",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 11¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/UxNDM6AqZHQ",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='opener'>rel opener</a>",
"id": "http://actor.example/object/tdlqini1XAM",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 12¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/b2HUFMeDTXc",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noopener'>rel noopener</a>",
"id": "http://actor.example/object/RYRByzBEPLg",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 13¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/lbK01grSbZU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noreferrer'>rel noreferrer</a>",
"id": "http://actor.example/object/LbiNUyRUMM4",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 14¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/gAGQixdbMBQ",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='custom'>rel custom</a>",
"id": "http://actor.example/object/4geKLMirQgQ",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 15¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/UvoPV-Wr57w",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='me'>rel me</a>",
"id": "http://actor.example/object/AyxNybKZ55I",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 16¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/JB2is46_7Ss",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='external'>rel external</a>",
"id": "http://actor.example/object/ss4iJmlkNzU",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 17¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/p-JCcWXDfAo",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='canonical'>rel canonical</a>",
"id": "http://actor.example/object/Aw32mNqgOtg",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 18¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/BB5RiLdG2R4",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='alternate'>rel alternate</a>",
"id": "http://actor.example/object/v_kWrPSliMg",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}