Title: Iframe Code Error in Custom HTML Widget
Last modified: June 30, 2022

---

# Iframe Code Error in Custom HTML Widget

 *  Resolved [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/)
 * Hi I’m trying to embed an iframe code in my website using the Site Origin Custom
   HTML widget, but when I copy and paste the code into the widget I get an error
   message please see the image below.
    Can anyone tell me what the error is? Or
   how I can find out what the error is please
 * > [View post on imgur.com](https://imgur.com/JuNyHg1)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785552)
 * Hi, thanks for posting.
 * The Custom HTML Widget is a core WordPress widget.
 * If you hover over the red X icon further information will be displayed. The error
   is hinting at something before the frameborder attribute.
 *  Thread Starter [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785650)
 * Hi Thank you for your reply, I really appreciate it.
    I have tried hovering over
   the red x but all it give’s me is a question mark??
 * any ideas?
 * many thanks
 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785664)
 * No worries.
 * Please, try changing `allowfullscreen` to `allow="fullscreen"`. Any change?
 * [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-allowfullscreen](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-allowfullscreen)
 *  Thread Starter [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785674)
 * I’ve done that but the error message is still showing
 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785682)
 * Thanks for trying. Kindly, post the iFrame code here, I’ll test further locally.
 *  Thread Starter [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785689)
 * <iframe id=”appearance_set” scrolling=”no” frameborder=”0″ width=”100%” style
   =”height:auto;min-height:1350px” src=”[https://studiobookingsonline.com/tabithayoga/embed/&#8221](https://studiobookingsonline.com/tabithayoga/embed/&#8221);
   frameborder=”0″
    allowfullscreen></iframe>
 * thank you
 *  Thread Starter [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785852)
 * Hi Just wondering if you have found anything yet
 * thank you
 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785873)
 * You can try removing the `frameborder` attribute. You should be able to save 
   then.
 *  Thread Starter [jloindubai](https://wordpress.org/support/users/jloindubai/)
 * (@jloindubai)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785916)
 * Hi Thanks I’ve removed the last frameborder attribute and there is no error code
   showing now so I have saved and all is looking good on the front end of my website
 * thank you very much for you help
    it’s much appreciated
 * regards
 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785923)
 * Thanks for the update; I’m glad to hear you’re making progress.
 * Cheers for now.
 * Andrew

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Iframe Code Error in Custom HTML Widget’ is closed to new replies.

 * ![](https://ps.w.org/siteorigin-panels/assets/icon.svg?rev=2556869)
 * [Page Builder by SiteOrigin](https://wordpress.org/plugins/siteorigin-panels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteorigin-panels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteorigin-panels/)
 * [Active Topics](https://wordpress.org/support/plugin/siteorigin-panels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteorigin-panels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteorigin-panels/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/iframe-code-error-in-custom-html-widget/#post-15785923)
 * Status: resolved