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/db323sMmQXc",
"published": "2025-11-21T12:05:01Z",
"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/70pcqXmDC7A",
"published": "2025-11-21T12:05:01Z",
"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/rs5pjGAYcko",
"published": "2025-11-21T12:05:01Z",
"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/aEdFJWmcX74",
"published": "2025-11-21T12:05:01Z",
"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/XDXfHJX_y5M",
"published": "2025-11-21T12:05:01Z",
"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/bXualBric1c",
"published": "2025-11-21T12:05:01Z",
"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/u2JKbNE2Azg",
"published": "2025-11-21T12:05:01Z",
"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/hbTh9svuZoE",
"published": "2025-11-21T12:05:01Z",
"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/gttf5pVyieI",
"published": "2025-11-21T12:05:02Z",
"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/mhBQ2M81D20",
"published": "2025-11-21T12:05:02Z",
"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/6Kv-yDzFUsQ",
"published": "2025-11-21T12:05:02Z",
"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/NNAgB8wczoA",
"published": "2025-11-21T12:05:02Z",
"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/moZRG25r7M8",
"published": "2025-11-21T12:05:02Z",
"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/hZvPLb1PmHc",
"published": "2025-11-21T12:05:02Z",
"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/aIYQNyMluMI",
"published": "2025-11-21T12:05:02Z",
"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/if0wmc5B4h0",
"published": "2025-11-21T12:05:02Z",
"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/vmlXErC74xw",
"published": "2025-11-21T12:05:02Z",
"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/3Df8LG0DN2o",
"published": "2025-11-21T12:05:02Z",
"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/mtyIKJvp_js",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev'>funfedi</a>",
"id": "http://actor.example/object/VtR83PTH_zk",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/m2Er3fDl1ZM",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' hreflang='en'>hreflang en</a>",
"id": "http://actor.example/object/Iy6e-9M5P_w",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/QCYXvh9W_ZY",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_self'>target _self</a>",
"id": "http://actor.example/object/L4XCphblXRg",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/P_iKYAh0zTk",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' target='_blank'>target _blank</a>",
"id": "http://actor.example/object/MvaxRW8sr_M",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/sSiqovIP3zw",
"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/hGUdSDwzyp8",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/VXLxeOKeKBU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='mention'>class mention</a>",
"id": "http://actor.example/object/5Kcu5djpI_Q",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/PBnHTJW2F1o",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' class='hashtag'>class hashtag</a>",
"id": "http://actor.example/object/q9fhVKneiac",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/dpHj8zlO_so",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev/assets/samples.zip' download='samples.zip'>download</a>",
"id": "http://actor.example/object/lyT3-zuft34",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/kTq_1YOiaxg",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='tag'>rel tag</a>",
"id": "http://actor.example/object/kP6zVAQEoN4",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/xN05H-N_Um0",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='nofollow'>rel nofollow</a>",
"id": "http://actor.example/object/yhcWCDz8o4Y",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/0NvX2HStExQ",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='opener'>rel opener</a>",
"id": "http://actor.example/object/hfqhb6tnFBU",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/mjWYlQewEy8",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noopener'>rel noopener</a>",
"id": "http://actor.example/object/tD1OFDgek2A",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/W_BfohDG7-8",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='noreferrer'>rel noreferrer</a>",
"id": "http://actor.example/object/GG5CIYgXL8g",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/rm9X-VnnT68",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='custom'>rel custom</a>",
"id": "http://actor.example/object/X7DrWSp0uls",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/LG5ugh6auvM",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='me'>rel me</a>",
"id": "http://actor.example/object/9QtiCTcHawE",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/uhlENYvRrig",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='external'>rel external</a>",
"id": "http://actor.example/object/Qyap7VJm-KU",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/RZGEhfS0RgU",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='canonical'>rel canonical</a>",
"id": "http://actor.example/object/DngHq8KRgvc",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"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/FdZQGost7gY",
"object": {
"attributedTo": "http://actor.example",
"content": "<a href='https://funfedi.dev' rel='alternate'>rel alternate</a>",
"id": "http://actor.example/object/823DsPlRXgc",
"published": "2025-11-21T12:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:02Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}