# HTML References

### /content - dynamic content resolution

HTML inscriptions can reference relative file paths to `/content/<outpoint>` to automatically have the content detected and returned as a file. For more information on how this resolution works under the hood visit [ordfs.network](https://ordfs.network).

### ord:// - On-Chain Inscription References

You can embed references to other inscriptions inside the on-chain HTML or markdown. You can address.

An ordinal number is the precise satoshi identifier.

`Inscription ID` is the transaction id, and output index of a specific inscription, formatted as: `txid_vout`

### Original inscription by Ordinal Number

In a text/html inscription:

```html
<img src="ord://ordinalNumber" />
```

In a text/markdown inscription:

```markdown
[My Ordinal!]("ord://ordinalNumber")
```

### Specific inscription by Inscription ID

In a text/html inscription:

```html
<img src="ord://inscriptionID" />
```

In a text/markdown inscription:

```md
[My Ordinal!]("ord://inscriptionID")
```

## #latest - Dynamic Inscription References

Use the `#latest` fragment to return the latest inscription for a given ordinal number, or inscription ID.

### Latest inscription by Ordinal Number

In a text/html inscription:

```html
<img src="ord://ordinalNumber#latest" />
```

In a text/markdown inscription:

```markdown
[My Ordinal!]("ord://ordinalNumber#latest")
```

### Latest inscription by Inscription ID

In a text/html inscription:

```html
<img src="ord://inscriptionID#latest" />
```

In a text/markdown inscription:

```md
[My Ordinal!]("ord://inscriptionID#latest")
```

## URL Resolution

| URL                        | resolves to          |
| -------------------------- | -------------------- |
| ord://ordinalNumber        | original inscription |
| ord://inscriptionID        | specific inscription |
| ord://ordinalNumber#latest | latest inscription   |
| ord://inscriptionID#latest | latest inscription   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.1satordinals.com/html-ordinals/url-references.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
