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/O9uPI4dZydI",
  "published": "2025-09-08T17:34:51Z",
  "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/XYIVVQ4GQfM",
    "published": "2025-09-08T17:34:51Z",
    "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-08T17:34:52.177815Z",
  "ap_id": "http://pasture-one-actor/object/XYIVVQ4GQfM",
  "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/AxTw7QlRVNk",
  "published": "2025-09-08T17:34:52Z",
  "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/2A5hFS4I-xI",
    "published": "2025-09-08T17:34:52Z",
    "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-08T17:34:52.968144Z",
  "ap_id": "http://pasture-one-actor/object/2A5hFS4I-xI",
  "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/1tirl84Slg0",
  "published": "2025-09-08T17:34:53Z",
  "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/elHITy0QeP8",
    "published": "2025-09-08T17:34:53Z",
    "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-08T17:34:53.754828Z",
  "ap_id": "http://pasture-one-actor/object/elHITy0QeP8",
  "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/97mTZ4y7C3s",
  "published": "2025-09-08T17:34:54Z",
  "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/5pbxx3hlDhw",
    "published": "2025-09-08T17:34:54Z",
    "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-08T17:34:54.572506Z",
  "ap_id": "http://pasture-one-actor/object/5pbxx3hlDhw",
  "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/xG5n8ov9yYQ",
  "published": "2025-09-08T17:34:55Z",
  "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/qQfKrCzJCSs",
    "published": "2025-09-08T17:34:55Z",
    "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-08T17:34:55.327227Z",
  "ap_id": "http://pasture-one-actor/object/qQfKrCzJCSs",
  "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/n9uAUaiRXmg",
  "published": "2025-09-08T17:34:55Z",
  "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/8CS3impV6TA",
    "published": "2025-09-08T17:34:55Z",
    "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-08T17:34:56.144766Z",
  "ap_id": "http://pasture-one-actor/object/8CS3impV6TA",
  "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/VsdigMhh9zU",
  "published": "2025-09-08T17:34:56Z",
  "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/4vG8aBRlUb8",
    "published": "2025-09-08T17:34:56Z",
    "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-08T17:34:56.953313Z",
  "ap_id": "http://pasture-one-actor/object/4vG8aBRlUb8",
  "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/la6bpJqRiCg",
  "published": "2025-09-08T17:34:57Z",
  "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/TYNj1TEJyJY",
    "published": "2025-09-08T17:34:57Z",
    "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-08T17:34:57.755124Z",
  "ap_id": "http://pasture-one-actor/object/TYNj1TEJyJY",
  "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/3fxNMnZ4Lew",
  "published": "2025-09-08T17:34:58Z",
  "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/JQ3bawIgVSg",
    "published": "2025-09-08T17:34:58Z",
    "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-08T17:34:58.546875Z",
  "ap_id": "http://pasture-one-actor/object/JQ3bawIgVSg",
  "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/fxYoxzIfej0",
  "published": "2025-09-08T17:34:59Z",
  "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/sBgTTN2DrXk",
    "published": "2025-09-08T17:34:59Z",
    "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-08T17:34:59.323482Z",
  "ap_id": "http://pasture-one-actor/object/sBgTTN2DrXk",
  "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/PIyIBMsiGlQ",
  "published": "2025-09-08T17:34:59Z",
  "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/D_YA6r1P4Mw",
    "published": "2025-09-08T17:34:59Z",
    "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-08T17:35:00.077979Z",
  "ap_id": "http://pasture-one-actor/object/D_YA6r1P4Mw",
  "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/rHuA7q9Pk94",
  "published": "2025-09-08T17:35:00Z",
  "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/T7sAgHCDjdM",
    "published": "2025-09-08T17:35:00Z",
    "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-08T17:35:00.872597Z",
  "ap_id": "http://pasture-one-actor/object/T7sAgHCDjdM",
  "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/nVKHzvDr_po",
  "published": "2025-09-08T17:35:01Z",
  "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/DRa0MfZV2Ms",
    "published": "2025-09-08T17:35:01Z",
    "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-08T17:35:01.693831Z",
  "ap_id": "http://pasture-one-actor/object/DRa0MfZV2Ms",
  "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/p1p3EJu0hoc",
  "published": "2025-09-08T17:35:02Z",
  "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/mSmangzqnQk",
    "published": "2025-09-08T17:35:02Z",
    "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-08T17:35:02.497973Z",
  "ap_id": "http://pasture-one-actor/object/mSmangzqnQk",
  "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/zF_LfEOUzK4",
  "published": "2025-09-08T17:35:03Z",
  "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/8L2AXG6OgCA",
    "published": "2025-09-08T17:35:03Z",
    "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-08T17:35:03.261420Z",
  "ap_id": "http://pasture-one-actor/object/8L2AXG6OgCA",
  "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/vzv8o7d4TgE",
  "published": "2025-09-08T17:35:03Z",
  "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/vek9sPs1YBM",
    "published": "2025-09-08T17:35:03Z",
    "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-08T17:35:04.126131Z",
  "ap_id": "http://pasture-one-actor/object/vek9sPs1YBM",
  "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/DH6cHUUMTvc",
  "published": "2025-09-08T17:35:04Z",
  "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/m0vCN1ZE_64",
    "published": "2025-09-08T17:35:04Z",
    "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-08T17:35:04.909028Z",
  "ap_id": "http://pasture-one-actor/object/m0vCN1ZE_64",
  "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/ghwQlmpGddY",
  "published": "2025-09-08T17:35:05Z",
  "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/hqqtGSyybGc",
    "published": "2025-09-08T17:35:05Z",
    "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-08T17:35:05.704910Z",
  "ap_id": "http://pasture-one-actor/object/hqqtGSyybGc",
  "local": false,
  "language_id": 2,
  "removed": false,
  "locked": false,
  "body": "rel alternate"
}