Skip to content

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.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/Hkl_eA6yhU0",
  "published": "2025-09-09T12:33:32Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/KYb396e8P0g",
    "published": "2025-09-09T12:33:32Z",
    "content": "<a href='https://funfedi.dev'>funfedi</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 182,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:32.744930Z",
  "ap_id": "http://pasture-one-actor/object/KYb396e8P0g",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "funfedi"
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/grpr8_PacIs",
  "published": "2025-09-09T12:33:33Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/6yyR3uArPjs",
    "published": "2025-09-09T12:33:33Z",
    "content": "<a href='https://funfedi.dev' hreflang='en'>hreflang en</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 183,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] hreflang en",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:33.568818Z",
  "ap_id": "http://pasture-one-actor/object/6yyR3uArPjs",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "hreflang en"
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/Cu3Qk9o3Aqc",
  "published": "2025-09-09T12:33:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/o5AcdeCdE6s",
    "published": "2025-09-09T12:33:34Z",
    "content": "<a href='https://funfedi.dev' target='_self'>target _self</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 184,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] target _self",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:34.370161Z",
  "ap_id": "http://pasture-one-actor/object/o5AcdeCdE6s",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "target _self"
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/-6hrJx9M6fU",
  "published": "2025-09-09T12:33:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/Z6VzLdnRfT4",
    "published": "2025-09-09T12:33:34Z",
    "content": "<a href='https://funfedi.dev' target='_blank'>target _blank</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 185,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] target _blank",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:35.193882Z",
  "ap_id": "http://pasture-one-actor/object/Z6VzLdnRfT4",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "target _blank"
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/MZ6TJEeCkxY",
  "published": "2025-09-09T12:33:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/4XkJK3_2hRM",
    "published": "2025-09-09T12:33:35Z",
    "content": "<a href='https://funfedi.dev' class='fun-red-link'>fun-red-link class</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 186,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] fun-red-link class",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:36.000231Z",
  "ap_id": "http://pasture-one-actor/object/4XkJK3_2hRM",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "fun-red-link class"
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/eX6WVR9bT0s",
  "published": "2025-09-09T12:33:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/iUrm5dgD1dY",
    "published": "2025-09-09T12:33:36Z",
    "content": "<a href='https://funfedi.dev' class='mention'>class mention</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 187,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] class mention",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:36.828519Z",
  "ap_id": "http://pasture-one-actor/object/iUrm5dgD1dY",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "class mention"
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/QKQEpgvjiDk",
  "published": "2025-09-09T12:33:37Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/-FQQg1FFLnw",
    "published": "2025-09-09T12:33:37Z",
    "content": "<a href='https://funfedi.dev' class='hashtag'>class hashtag</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 188,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] class hashtag",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:37.600516Z",
  "ap_id": "http://pasture-one-actor/object/-FQQg1FFLnw",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "class hashtag"
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/D_KuYDs5zII",
  "published": "2025-09-09T12:33:38Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/tD3Q42gT6Xk",
    "published": "2025-09-09T12:33:38Z",
    "content": "<a href='https://funfedi.dev/assets/samples.zip' download='samples.zip'>download</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 189,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:38.416027Z",
  "ap_id": "http://pasture-one-actor/object/tD3Q42gT6Xk",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "download"
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/H--Rola4pPs",
  "published": "2025-09-09T12:33:39Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/HfEIAeeRN90",
    "published": "2025-09-09T12:33:39Z",
    "content": "<a href='https://funfedi.dev' rel='tag'>rel tag</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 190,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:39.216372Z",
  "ap_id": "http://pasture-one-actor/object/HfEIAeeRN90",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel tag"
}

Example 10

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/573EJQOwo0g",
  "published": "2025-09-09T12:33:39Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/HcmwUkdWJmM",
    "published": "2025-09-09T12:33:39Z",
    "content": "<a href='https://funfedi.dev' rel='nofollow'>rel nofollow</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 191,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel nofollow",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:40.002052Z",
  "ap_id": "http://pasture-one-actor/object/HcmwUkdWJmM",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel nofollow"
}

Example 11

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/9O68rK_qlkQ",
  "published": "2025-09-09T12:33:40Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/tcZBl3E4lB0",
    "published": "2025-09-09T12:33:40Z",
    "content": "<a href='https://funfedi.dev' rel='opener'>rel opener</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 192,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel opener",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:40.808792Z",
  "ap_id": "http://pasture-one-actor/object/tcZBl3E4lB0",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel opener"
}

Example 12

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/Po4r5rZ7ndA",
  "published": "2025-09-09T12:33:41Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/bcKXlAhyN_Y",
    "published": "2025-09-09T12:33:41Z",
    "content": "<a href='https://funfedi.dev' rel='noopener'>rel noopener</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 193,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel noopener",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:41.555389Z",
  "ap_id": "http://pasture-one-actor/object/bcKXlAhyN_Y",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel noopener"
}

Example 13

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/0PE_P0enCqs",
  "published": "2025-09-09T12:33:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/H02_x93T7BE",
    "published": "2025-09-09T12:33:42Z",
    "content": "<a href='https://funfedi.dev' rel='noreferrer'>rel noreferrer</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 194,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel noreferrer",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:42.333722Z",
  "ap_id": "http://pasture-one-actor/object/H02_x93T7BE",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel noreferrer"
}

Example 14

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/pIm0TKrdvS4",
  "published": "2025-09-09T12:33:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/9K1ym_7cSUg",
    "published": "2025-09-09T12:33:42Z",
    "content": "<a href='https://funfedi.dev' rel='custom'>rel custom</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 195,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel custom",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:43.150061Z",
  "ap_id": "http://pasture-one-actor/object/9K1ym_7cSUg",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel custom"
}

Example 15

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/lP1yfaFjerI",
  "published": "2025-09-09T12:33:43Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/4iDc4sYoPrw",
    "published": "2025-09-09T12:33:43Z",
    "content": "<a href='https://funfedi.dev' rel='me'>rel me</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 196,
  "user_id": 2,
  "community_id": 1,
  "title": "(content in post body)",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:43.959289Z",
  "ap_id": "http://pasture-one-actor/object/4iDc4sYoPrw",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel me"
}

Example 16

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/GlvgYY8SBtw",
  "published": "2025-09-09T12:33:44Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/8l4spa84-nY",
    "published": "2025-09-09T12:33:44Z",
    "content": "<a href='https://funfedi.dev' rel='external'>rel external</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 197,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel external",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:44.777880Z",
  "ap_id": "http://pasture-one-actor/object/8l4spa84-nY",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel external"
}

Example 17

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/llsdPdtyxTg",
  "published": "2025-09-09T12:33:45Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/StHT_aHDQpY",
    "published": "2025-09-09T12:33:45Z",
    "content": "<a href='https://funfedi.dev' rel='canonical'>rel canonical</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 198,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel canonical",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:45.549719Z",
  "ap_id": "http://pasture-one-actor/object/StHT_aHDQpY",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel canonical"
}

Example 18

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://pyfedi.local/c/pie"
  ],
  "id": "http://pasture-one-actor/activity/Yma_b7scCjw",
  "published": "2025-09-09T12:33:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://pyfedi.local/c/pie"
    ],
    "id": "http://pasture-one-actor/object/RH3-M9sBkbU",
    "published": "2025-09-09T12:33:46Z",
    "content": "<a href='https://funfedi.dev' rel='alternate'>rel alternate</a>",
    "tag": [
      {
        "type": "Mention",
        "href": "http://pyfedi.local/c/pie"
      }
    ]
  }
}
pyfedi
{
  "id": 199,
  "user_id": 2,
  "community_id": 1,
  "title": "[Microblog] rel alternate",
  "deleted": false,
  "nsfw": false,
  "sticky": false,
  "published": "2025-09-09T12:33:46.360254Z",
  "ap_id": "http://pasture-one-actor/object/RH3-M9sBkbU",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel alternate"
}