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/8W3OtcEji2Q",
"published": "2025-09-09T09:32:39Z",
"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/jDPvDLNiOks",
"published": "2025-09-09T09:32:39Z",
"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/IufIRwuOInc",
"published": "2025-09-09T09:32:39Z",
"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/UYwa3kQ46QU",
"published": "2025-09-09T09:32:39Z",
"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/-pn3V_a2TgY",
"published": "2025-09-09T09:32:39Z",
"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/6gcHSrGRL9k",
"published": "2025-09-09T09:32:39Z",
"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/u7e373e1ktw",
"published": "2025-09-09T09:32:39Z",
"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/t5FK7WKQ3g0",
"published": "2025-09-09T09:32:39Z",
"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/fUv9EAJF_Kc",
"published": "2025-09-09T09:32:39Z",
"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/42CQoR6kY6U",
"published": "2025-09-09T09:32:39Z",
"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/ycCReVSWU0E",
"published": "2025-09-09T09:32:39Z",
"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/FNgOa8R-m7w",
"published": "2025-09-09T09:32:39Z",
"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/tTFKdHThgEk",
"published": "2025-09-09T09:32:39Z",
"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/pOdtT27FZTM",
"published": "2025-09-09T09:32:39Z",
"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/PlMt0wJJv_w",
"published": "2025-09-09T09:32:39Z",
"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/gjtYMBdE8YU",
"published": "2025-09-09T09:32:39Z",
"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/PvJDecNPxbE",
"published": "2025-09-09T09:32:39Z",
"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/vjwoZyMcAGQ",
"published": "2025-09-09T09:32:39Z",
"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/U_9RjsyO5L0",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev'>funfedi</a>",
"id": "http://actor.example/object/yeaWwbbut-4",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/Cl-xa9eEWqA",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' hreflang='en'>hreflang en</a>",
"id": "http://actor.example/object/XS4mGIJxThQ",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/W08RaquKa4A",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_self'>target _self</a>",
"id": "http://actor.example/object/R0NaT9zF7p8",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/uXixUQN0Utc",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_blank'>target _blank</a>",
"id": "http://actor.example/object/eq8siO4EQvs",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/UOl1FsZ5tfI",
"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/UPG4LWQXQLs",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/67HTeLkcI10",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='mention'>class mention</a>",
"id": "http://actor.example/object/AXeBKBIoPHg",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/KA73Y9m4kXA",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='hashtag'>class hashtag</a>",
"id": "http://actor.example/object/-jz_Rj4jaw0",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/gBXxae1Qivs",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev/assets/samples.zip' download='samples.zip'>download</a>",
"id": "http://actor.example/object/oiYIHAKRBe4",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/JdSAQPwV71w",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='tag'>rel tag</a>",
"id": "http://actor.example/object/2gNXohDrTW0",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/ZTeFcC5oe3Q",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='nofollow'>rel nofollow</a>",
"id": "http://actor.example/object/__HFWNF6724",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/1zH91pJZN0E",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='opener'>rel opener</a>",
"id": "http://actor.example/object/QBbppNtSmBI",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/j8XDFjBOSjU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noopener'>rel noopener</a>",
"id": "http://actor.example/object/WjjSAfr59eA",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/w2hAag7GUXU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noreferrer'>rel noreferrer</a>",
"id": "http://actor.example/object/Q2LiUfvrFPM",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/9g4OFSa4T_c",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='custom'>rel custom</a>",
"id": "http://actor.example/object/Kdo-At6XmEQ",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/YMglkZSOEjk",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='me'>rel me</a>",
"id": "http://actor.example/object/NG9qEb-WPOU",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/smt7r7VazvU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='external'>rel external</a>",
"id": "http://actor.example/object/edzNwMNINj8",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/IiuJLoccdro",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='canonical'>rel canonical</a>",
"id": "http://actor.example/object/BGeTVH6Z-6c",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"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/fN2VypfP6IU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='alternate'>rel alternate</a>",
"id": "http://actor.example/object/AyL29fdhg2U",
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-09-09T09:32:39Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}