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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/h52ENzaY3zI",
  "published": "2025-09-14T08:59:13Z",
  "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/ub--gNQdGh4",
    "published": "2025-09-14T08:59:13Z",
    "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-14T08:59:13.596642Z",
  "ap_id": "http://pasture-one-actor/object/ub--gNQdGh4",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/QHej_k1QL_0",
  "published": "2025-09-14T08:59:14Z",
  "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/qLInmItRTeA",
    "published": "2025-09-14T08:59:14Z",
    "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-14T08:59:14.378115Z",
  "ap_id": "http://pasture-one-actor/object/qLInmItRTeA",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/7g-52WoiPSI",
  "published": "2025-09-14T08:59:14Z",
  "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/hCnnBLs0Lcs",
    "published": "2025-09-14T08:59:14Z",
    "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-14T08:59:15.124900Z",
  "ap_id": "http://pasture-one-actor/object/hCnnBLs0Lcs",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/fHduonEFrEA",
  "published": "2025-09-14T08:59:15Z",
  "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/zNU3Ayw2rw8",
    "published": "2025-09-14T08:59:15Z",
    "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-14T08:59:15.947543Z",
  "ap_id": "http://pasture-one-actor/object/zNU3Ayw2rw8",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/pokmlj3Zj-4",
  "published": "2025-09-14T08:59:16Z",
  "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/CDU06ViUjGg",
    "published": "2025-09-14T08:59:16Z",
    "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-14T08:59:16.711759Z",
  "ap_id": "http://pasture-one-actor/object/CDU06ViUjGg",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/Cxbce7ym644",
  "published": "2025-09-14T08:59:17Z",
  "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/HB1fIkZ6x_w",
    "published": "2025-09-14T08:59:17Z",
    "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-14T08:59:17.445546Z",
  "ap_id": "http://pasture-one-actor/object/HB1fIkZ6x_w",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/YM5UUq7T-1k",
  "published": "2025-09-14T08:59:18Z",
  "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/rsAepxi9V_s",
    "published": "2025-09-14T08:59:18Z",
    "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-14T08:59:18.239376Z",
  "ap_id": "http://pasture-one-actor/object/rsAepxi9V_s",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/SCH3qH6py8Y",
  "published": "2025-09-14T08:59:18Z",
  "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/hmB7-5JXmVc",
    "published": "2025-09-14T08:59:18Z",
    "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-14T08:59:18.964693Z",
  "ap_id": "http://pasture-one-actor/object/hmB7-5JXmVc",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/sPAoQ7UyFWg",
  "published": "2025-09-14T08:59:19Z",
  "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/AFgn-w6qfvE",
    "published": "2025-09-14T08:59:19Z",
    "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-14T08:59:19.760415Z",
  "ap_id": "http://pasture-one-actor/object/AFgn-w6qfvE",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/xPl6B9i_Yhg",
  "published": "2025-09-14T08:59:20Z",
  "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/vR0YkPb0NIs",
    "published": "2025-09-14T08:59:20Z",
    "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-14T08:59:20.499299Z",
  "ap_id": "http://pasture-one-actor/object/vR0YkPb0NIs",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/aepTk4oIGY8",
  "published": "2025-09-14T08:59:21Z",
  "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/8A-gA5m5r_U",
    "published": "2025-09-14T08:59:21Z",
    "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-14T08:59:21.210451Z",
  "ap_id": "http://pasture-one-actor/object/8A-gA5m5r_U",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/o8Dupc6xkjM",
  "published": "2025-09-14T08:59:21Z",
  "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/HNsKccy4Px0",
    "published": "2025-09-14T08:59:21Z",
    "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-14T08:59:22.004969Z",
  "ap_id": "http://pasture-one-actor/object/HNsKccy4Px0",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/-ORyPocB0sA",
  "published": "2025-09-14T08:59:22Z",
  "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/ldGru2CBHZc",
    "published": "2025-09-14T08:59:22Z",
    "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-14T08:59:22.775800Z",
  "ap_id": "http://pasture-one-actor/object/ldGru2CBHZc",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/Pu8aTwqw9q4",
  "published": "2025-09-14T08:59:23Z",
  "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/DryykiIuJ_E",
    "published": "2025-09-14T08:59:23Z",
    "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-14T08:59:23.547686Z",
  "ap_id": "http://pasture-one-actor/object/DryykiIuJ_E",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/8NwAa_fWRU8",
  "published": "2025-09-14T08:59:24Z",
  "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/rGu7I1Xq-jg",
    "published": "2025-09-14T08:59:24Z",
    "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-14T08:59:24.299653Z",
  "ap_id": "http://pasture-one-actor/object/rGu7I1Xq-jg",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/uSfS8g5twGk",
  "published": "2025-09-14T08:59:24Z",
  "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/JYfWS--Dd7Y",
    "published": "2025-09-14T08:59:24Z",
    "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-14T08:59:25.043871Z",
  "ap_id": "http://pasture-one-actor/object/JYfWS--Dd7Y",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/Iqhvo1CgMsA",
  "published": "2025-09-14T08:59:25Z",
  "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/1hV9TFH_rBY",
    "published": "2025-09-14T08:59:25Z",
    "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-14T08:59:25.833798Z",
  "ap_id": "http://pasture-one-actor/object/1hV9TFH_rBY",
  "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": [
    "http://pyfedi.local/c/pie",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/activity/10Y65-rbWxM",
  "published": "2025-09-14T08:59:26Z",
  "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/NgHslgjIU3w",
    "published": "2025-09-14T08:59:26Z",
    "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-14T08:59:26.633348Z",
  "ap_id": "http://pasture-one-actor/object/NgHslgjIU3w",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel alternate"
}