How to remove scrollbar from iframe with HTML?

Spread the love

Sometimes, we want to remove scrollbar from iframe with HTML.

In this article, we’ll look at how to remove scrollbar from iframe with HTML.

How to remove scrollbar from iframe with HTML?

To remove scrollbar from iframe with HTML, we set the scrolling attribute to no.

For instance, we write

<iframe
  src="http://example.com"
  scrolling="no"
  style="width: 550px; height: 500px; overflow: hidden"
></iframe>

to remove the scrollbar from the iframe with scrolling="no".

Conclusion

To remove scrollbar from iframe with HTML, we set the scrolling attribute to no.

Leave a Reply

Your email address will not be published.