> For the complete documentation index, see [llms.txt](https://docs.gmetri.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmetri.com/guidelines-compatibility/guidelines/workflows/embedhtml-snippets.md).

# EmbedHTML Snippets

Here are a few handy EmbedHTML snippets that you can use in your projects. Enter these snippets here:

<figure><img src="/files/cPLj17wtwRV1SMZ7oD3f" alt=""><figcaption><p>EmbedHTML Snippets</p></figcaption></figure>

### Embedding any web page

```markup
<iframe src="{your_page_link_here}" width="100%" height="100%" />
```

### Embedding a PDF

```markup
<html>
<body>
    <object data="{your_pdf_link_here}" type="application/pdf" width="100%" height="100%">
        <embed src="{your_pdf_link_here}" type="application/pdf"  width="100%" height="100%"/>
    </object>
</body>
</html>
```

### Embed a 3D Model

{% code title="Code Snippet" overflow="wrap" %}

```markup
<iframe 
  src="https://gltf-viewer.in.gmetri.com#model=yourModelURL&kiosk=true" 
  style="width: 100%; height: 100%;" frameBorder="0" />
```

{% endcode %}

{% code title="Example" overflow="wrap" %}

```markup
<iframe 
  src="https://gltf-viewer.in.gmetri.com#model=https%3A%2F%2Fu.vrgmetri.com%2Fgb-sms-prod-1%2Fmedia%2F2021-1%2Fgmetri%2F08d1bf34-4618-4b81-809a-d20aef9ec106%2Fo%2Fvivreau09.glb&kiosk=true" 
  style="width: 100%; height: 100%;" frameBorder="0" />
```

{% endcode %}

{% embed url="<https://gmetri_demo.gmetri.com/embedhtml_demo>" %}
EmbedHTML 3D Model Demo
{% endembed %}

### Embed a Zoomable Image

{% code title="Code Snippet" overflow="wrap" %}

```markup
<iframe 
  src="https://csb-hiozp.vercel.app/?img_url=yourImageURL" 
  width="100%" height="100%" />
```

{% endcode %}

{% code title="Example" overflow="wrap" %}

```markup
<iframe 
  src="https://csb-hiozp.vercel.app/?img_url=https://u.vrgmetri.com/gb-sms-prod-1/media/2022-1/ouqorj/a6f70407-3041-45e2-b4a4-2495fc517468/o/houseRules.png" 
  width="100%" height="100%" />
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.gmetri.com/guidelines-compatibility/guidelines/workflows/embedhtml-snippets.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.
