Prerequisites
Before using this widget, ensure that:
- You're familiar with the TravelFeed site builder and its basic functionalities.
- You have a basic understanding of how widgets work within the site builder.
- Your blog is set up and you can access the site builder feature.
The HTML Embed Widget lets you integrate custom HTML content directly into your page. This is ideal for embedding elements like:
- Maps
- iFrame embeds from various services
- Embedded media players
This widget offers a lot of flexibility, but be careful when using it, as custom HTML can break the layout of your blog or potentially cause security issues. For embeds that significantly alter your page, it's recommended to test the resulting page on several screen sizes to ensure proper display.
Important: While this widget accepts any HTML content, it should NOT be used for JavaScript scripts. For embedding interactive scripts like booking engines, flight search tools, or other script-based widgets, please use the Script Embed Widget instead.
How to Use
- Paste your HTML code into the "Paste HTML here" field
- Click the green check button to apply
The widget will render your HTML content in the exact location where you placed it on the page.
Best Practices
- Always test your embedded HTML on multiple devices and screen sizes
- Be cautious with third-party embeds from unknown sources
- Consider how the embed affects your page's loading speed
- Ensure embedded content is responsive (includes proper width settings)
- When possible, use height and width attributes that adapt to screen size (e.g., percentage values)