# Linking to content

With Pazly you can do one page websites, but this does not mean links are irrelevant. \
Most users are used to navigating your one page website between sections. To direct your user to a specific section you'll need to add 2 things:

1. Add an **id attribute** to your destination section. It should contain the name you choose for the section. For example, if you are building a contact section, add the **id=contact** to it (and press the green plus button).&#x20;

   <figure><img src="/files/cXuSpKIgoacHYXTr51rE" alt=""><figcaption></figcaption></figure>
2. Link the **navigation link with a #** followed by the section name. In the example above a navigation link will get **#contact**

   <figure><img src="/files/7NcJl2sbOMfnlG1bim65" alt=""><figcaption></figcaption></figure>

Watch the demo below, to see how easy it is to set all this up.&#x20;

{% embed url="<https://youtu.be/vzercKTt6SE>" %}


---

# 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.pazly.dev/building-fundamentals/linking-to-content.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.
