> For the complete documentation index, see [llms.txt](https://iframe-doc.quantsapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iframe-doc.quantsapp.com/getting-started-with-iframe/attributes/width.md).

# Width

Width attribute used for set height of iframe. we provide width to iframe in pixels.

also can  provide width also in (%)percentage here width work with percentage&#x20;

**syntax:**

without percentage

\<iframe width="100px" height="100px">\</iframe>

with percentage

\<iframe width="100%" height="100px">\</iframe>

**example:**

`<iframe src="https://xyz.com" width="100px" height="100px"></iframe>`
