Troubleshoot: HTML or custom code not displaying properly

Generic selectors
Exact matches only
Search in title
Search in content
Filter by Categories
Account Management Help
add photos, video and audio
Add-on features and social media
Advanced
Advanced campaign settings
All about analytics
All about images
Basic steps
Calendar
Configure the Web Application Firewall (WAF)
Connect my Calendar and Online Storage to Workspace
contact support
copy files to my site
Create my email address
Customize campaign
Discover domains
discover linux hosting with cPanel
Discover Microsoft 365
Discover Online Storage
Discover Workspace Email
edit content
Email Marketing demo
expand your site with sections and pages
Explore email add-ons
Explore my account
Find server and port settings (IMAP/POP)
fine tune my website
get social
Get started with SSL certificates
Get the most out of Microsoft 365
help my site get found and monitor my metrics
Hosting & Servers
keep my account secure
Keep my email secure
know your privacy rights
Legacy
Manage your SSL certificate
Managed WordPress
Manual email configuration
Migrate and export my emails
My email account isn’t working (troubleshooting)
nameservers and DNS
online store
organize
parking, forwarding and monetizing
privacy and protection
publish my site
Quick Shopping Cart
Renew my products and services
renewals
Security
Set up a campaign
Set up email on my devices
set up my payment methods
Set up my Workspace Email account
start with the basics
Stay productive anywhere with Office apps
Streamline email tasks to help my business
transfer between accounts
transfer between registrars
Troubleshoot email and email setup
Troubleshooting
troubleshooting
Uncategorized
Upgrade and renewal options for email
Web & Classic Hosting
Website backups
Website Builder 7
Website Builder version 6
Website Security and Backups
Websites
work with databases
work with delegates
working with blogs

If you’re having trouble adding HTML or custom code to your Website Builder page, check the list below for possible solutions.
Custom code window

Code guidelines and limitations

  • Use HTTPS instead of HTTP. (Support for HTTP is not guaranteed.)
  • Use the most recent version of your web browser. For the best experience, use Chrome. In Internet Explorer, Microsoft Edge and Opera Mini, the HTML preview will sometimes break when the embed changes. If this happens, refresh the page to see your changes or switch to another browser.
  • If your widget does not appear, set its height to a higher value, e.g. 40 pixels.
  • For embedded content that changes height as the user interacts with it, we recommend forcing the height to a value that can accommodate these changes.
  • When embedding a link, set its target attribute to "_blank" so it opens in a new tab or window.
  • When embedding plain text or a URL, wrap that in HTML tags.
  • The responsiveness of the HTML widget depends on the code being embedded. Since the embed is placed inside of an iframe, the widget may not be responsive — even if the original content is.
  • Placing a Google AdSense snippet inside of an iframe violates Google’s policy and is not supported. Instead, see Add Google AdSense to my website.

 Note: While we are happy to explain how the HTML section works, we cannot troubleshoot issues with any third-party code you might add to it.

More info