Close Menu
    Facebook X (Twitter) Instagram
    Trending
    • How to Build Sustainable NFT Campaigns with Micro-Influencers
    • How Influencers Are Driving NFT FOMO—and When It Backfires
    • Here’s What Actually Matters Now for Marketers
    • A New Funnel for Influencer Lead Gen
    • Influencer Gathering on a Tennis Court Fuels Buzz Around ASOS Nike Collection
    • 15+ LinkedIn Post Ideas Examples to Inspire Your Content Strategy
    • How to Evaluate Influencer Fit for NFT Campaigns
    • What is B2C Social Media Marketing: A Complete Guide
    YGLuk
    • Home
    • MsLi
      • MsLi’s Digital Products
      • MsLi’s Social Connections
    • Tiktok Specialist
    • TikTok Academy
    • Digital Marketing
    • Influencer Marketing
    • More
      • SEO
      • Digital Marketing Tips
      • Email Marketing
      • Content Marketing
      • SEM
      • Website Traffic
      • Marketing Trends
    YGLuk
    Home » Digital Marketing
    Digital Marketing

    How to Add HTML Embed Codes to Your Website [Quick Tip]

    YGLukBy YGLukApril 4, 2024No Comments10 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    If you wish to curate others’ content material from social media or simply make your individual visual social media content work more durable on your general content material technique, you should know find out how to embed HTML code onto your weblog or web site.

    However wait a second … earlier than we get into the nitty-gritty of this tip, what the heck does “embed” imply? And what’s HTML? If you do not know find out how to code in any respect, no worries — embedding external content is extraordinarily simple. Let’s take a second to interrupt down the fundamentals.

    Download Now: 50 Code Templates [Free Snippets]

    What does embed imply?

    Embed means to combine exterior content material into one other web site or web page. You embed one thing once you place a block of code — known as an embed code — into the HTML editor of one other web site. While you hit ‘Save’ or ‘Publish,’ the media then renders on the revealed web page.

    Embedded content material is referenced with HTML. HTML is likely one of the most elementary languages used on the net to design and lay out net pages.

    You typically see this code once you’re within the “again finish” of your weblog submit. There’s the place you’ll add your embed code.

    What’s an embed code?

    An embed code is a block of HTML that’s positioned in one other web page and renders a visible ingredient — a video, social media submit, kind, or web page — from one other web site or supply. You possibly can embed YouTube movies, Twitter posts, GIFs, and different multimedia objects on one other web site.

    Most social and multimedia web sites have an choice to generate an embed code proper in every particular person submit. Right here’s an instance of an embed code for a HubSpot YouTube video:

     
    <iframe width="560" peak="315" src="https://www.youtube.com/embed/eGUEAvNpz48" title="YouTube video participant" frameborder="0" enable="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    And right here’s the embedded outcome.

    Need to do the identical factor in your weblog posts and pages? Let’s go over how one can generate an embed code for the highest social websites.

    The right way to Add HTML Embed Code to Your Website

    1. Go to the social submit or webpage you’d prefer to embed.
    2. Generate the embed code utilizing the submit’s choices.
    3. If relevant, customise the embed submit, equivalent to the peak and width of the ingredient.
    4. Spotlight the embed code, then copy it to your clipboard.
    5. In your content material administration system, open up your HTML viewer.
    6. Paste the HTML snippet you simply copied into your HTML viewer window. Then click on ‘OK’ or ‘Save.’
    7. Completed! You’ve gotten now embedded content material onto your web site or weblog.

    Beneath, we cowl these steps in additional element for every platform. Generally, you’ll need to:

    1. Generate the embed code.
    2. Entry your content material administration system and paste the embed code in your HTML viewer.
    3. Completed! You’ve gotten embedded content material into your web site or weblog.

    Let’s dive into every step.

    1. Generate the embed code.

    Earlier than embedding exterior content material, you should first generate an embed code for the submit or web page you need to embed in your web site.

    We’ll go over how you are able to do that on many of the main social and content material networks.

    Embed a Fb Submit

    To embed a Fb submit, do the next:

    • Navigate to Fb in your desktop browser and go to the submit that you just’d prefer to embed.
    • Click on on the three dots on the higher right-hand nook of the submit.
    • On the drop-down menu, click on Embed.

    Embed code button on a Facebook post

    • A pop-up will seem, the place you will have the choice to incorporate the total submit and entry superior settings. For novices, we suggest leaving the choices as they’re and easily clicking Copy Code.

    Embed code options on a Facebook post

    • Completed! You’ve bought your embed code.

    Embed an Instagram Submit

    Need to embed an Instagram submit? The method is just like Fb’s. Be aware you can solely embed posts from the desktop model and never the cell app.

    • Click on the three dots within the higher right-hand nook of the submit.
    • A popup will provide you with a number of choices. Click on Embed, the second-to-last possibility.

    embed-instagram-post

    • A pop-up will provide you with your embed code. You’ve gotten the choice of together with or excluding the caption.
    • After you’ve completed customizing your choices, click on Copy Embed Code.

    Copy embed code pop-up on Instagram

    • Full! You’ve bought your Instagram embed code.

    Embed a YouTube Video

    YouTube movies can take your weblog posts to the following degree, and the perfect half is you can embed its wealth of content material in your weblog posts free of charge.

    To take action, take the next steps:

    • Navigate to the video that you just’d prefer to embed in your web site.
    • Underneath the video, subsequent to the place the likes are situated, click on Share.

    Share button under a YouTube video

    • A pop-up will provide you with a number of choices, together with sharing the submit to different social networks. Click on Embed.

    Share options for a YouTube video

    • YouTube will create an embed code, which you’ll be able to customise. You can begin the video at a sure level or disguise the participant controls.
    • After selecting your choices, click on Copy on the decrease right-hand nook of the pop-up.

    Generated embed code for a YouTube video

    • Full! Your YouTube video is able to get embedded.

    Embed a Tweet

    Should you embed a Tweet in your web site pages or weblog, you may generate engagement on your Twitter profile with out relying in your Twitter followers. Web site guests can have interaction together with your Twitter content material, too.

    To embed a Twitter submit, do the next:

    • On a desktop browser, navigate to the submit that you just’d prefer to embed.
    • Click on on the three dots on the higher right-hand nook of the submit.
    • A drop-down menu will seem. Click on Embed Tweet.

    Embed Tweet button on Twitter

    • Twitter will take you to an exterior web page on publish.twitter.com, the place you may then additional customise the look of the Tweet earlier than embedding it in your web site. As an example, you may set it to darkish mode and alter the show language of the Tweet.

    Options for embedding a Tweet

    • When you’ve personalized it, click on Replace.
    • Click on Copy Code.
    • Completed! The Tweet is able to embed in your web site.

    There’s one other strategy to generate an embed code for Twitter. Go to publish.twitter.com and insert the URL of the submit that you just’d prefer to embed. Twitter will then generate the embed code, and you may customise it utilizing the identical course of because the final methodology.

    Embed a Pinterest Submit

    Embedding a Pinterest submit can lead web site customers again to your Pinterest profile and provide help to develop your Pinterest following. To get began, do the next:

    • Navigate to the Pinterest submit you’d prefer to embed.
    • Click on on the three dots proper subsequent to the picture (or beneath the picture, if you happen to’re utilizing the cell web site).
    • On the drop-down menu, click on Get Pin embed code.

    'Get Pin embed code' button on a Pin

    • A pop-up will seem with the embed code. You’ve gotten the choice of making a small, medium, massive, or extra-large embedded pin.

    Generated embed code for a pin on Pinterest

    • When you customise the scale, spotlight the code and click on Command + C or CTRL + C.
    • Completed! Your Pin is able to get embedded.

    Embed a SlideShare Presentation

    Whereas SlideShare shows will not be as fashionable as of late, they will nonetheless be a useful multimedia instrument for spicing up weblog posts and pages. Right here’s find out how to embed a SlideShare presentation:

    • Go to the SlideShare presentation you’d prefer to embed.
    • Click on Share beneath the presentation.
    • In the identical window the place the presentation seems, you’ll see the choice to share it through social channels. The embed code might be beneath that.

    Share SlideShare options with an embed code

    • Select the scale of the embed window and which slide you’d just like the presentation to begin on.
    • Spotlight the embed code and click on Command + C or CTRL + C.
    • Prepared! Now you can embed the SlideShare presentation in an online web page or submit.

    Embed an Exterior Webpage

    Don’t need to embed a social submit however quite an online web page? You possibly can embed an exterior net web page utilizing the iframe HTML tag.

    All embed codes, together with those for social websites, use iframe tags. That is what they seem like:

     
    <body src="https://weblog.hubspot.com/advertising/url" title="description" ></iframe>

    You need to use these identical tags to embed an exterior webpage. Right here’s how:

    • Navigate to the webpage you’d prefer to embed into your web site.
    • Open up the notepad app in your laptop. Paste the next code into it:
     
    <iframe src="https://weblog.hubspot.com/advertising/url" title="description" width=”” peak=””></iframe>
    • Return to the webpage and replica the URL.
    • Paste your complete URL the place it says url in your iframe code. Don’t neglect to incorporate https:// at the start of your URL and to put the hyperlink contained in the quote marks. Right here’s what your code ought to seem like:
     
    <iframe src="https://instance.com/embedded-page" title="Embedded Web page Title" width=”” peak=””></iframe>
    • Change the width and peak of the body if desired.
     
    <iframe src="https://instance.com/embedded-page" title="Web site Web page Title" width=”750” peak=”500”></iframe>
    • Copy your complete line of code. After, the webpage is able to get embedded in your web site.

    2. Entry your content material administration system and paste the embed code in your HTML viewer.

    Though each CMS is totally different, you may most likely discover the HTML viewer with comparable steps. We’ll go over how you are able to do it in Content Hub and WordPress.

    Content material Hub

    In Content material Hub, you truly don’t want so as to add your embed content material utilizing the HTML editor (though you will have the choice to). Right here’s how:

    • In your HubSpot dashboard, navigate to Advertising and marketing > Web site > Weblog. Should you’re planning so as to add the code to an internet site web page, navigate to Advertising and marketing > Web site > Web site Pages.

    Blog and Website Pages buttons on the HubSpot CMS

    • Discover the submit or web page that you just’d like so as to add the embed code to. Hover over it, then click on Edit.

    cms-hub-website-page-list

    • Click on into the module the place you’d like so as to add the embed code. An choices bar will seem close to the highest of the display screen. Within the right-hand facet, click on Insert.
    • Select Embed from the drop-down menu.

    Embed button on the HubSpot CMS

    • A pop-up will seem. Paste the iframe code into the textual content bar.

    Insert embed pop-up in the HubSpot CMS

    • Click on Insert.
    • Completed! You possibly can edit the width and peak of the embed content material to customise it additional.

    To entry the HTML editor, full steps 1-3 above. On the highest choices bar, click on Superior > Supply Code. You possibly can then paste your embed code manually. Be aware that the tip outcome is identical.

    WordPress

    To stick an embed code into your WordPress web site, use the next steps:

    • Entry your admin space and go to both Pages or Posts.
    • Click on the title of the submit that you just need to add the embed code to. This motion will take you to the submit editor.
    • Click on the Textual content tab on the higher right-hand nook of the textual content editor.

    WordPress plain text editor

    • Paste your embed code the place you need the module to seem.

    3. Completed! You’ve gotten embedded content material onto your web site or weblog.

    When you reload the web page, your embedded social submit will seem.

    Add Embedded Content material to Improve Consumer Engagement

    By embedding exterior content material in your pages and posts, you may enhance engagement in your web site and get your web site guests to work together with the content material you submit on social media. The perfect half is that it’s simple to do — merely generate the embed code, paste it into your HTML editor, and watch your consumer engagement develop.

    Editor’s notice: This submit was initially revealed in September 2013 and has been up to date for comprehensiveness.

    New Call-to-action





    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    YGLuk
    • Website

    Related Posts

    This behavioral science principle can make your billboard go viral, here’s how

    July 3, 2025

    The new rules of email engagement

    July 2, 2025

    I tested 2025’s most realistic AI voice tools — here’s what blew me away

    July 2, 2025

    How To Make Money As A Copywriter (Even in 2025)

    July 2, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    five × three =

    Top Posts

    How to Build Sustainable NFT Campaigns with Micro-Influencers

    July 6, 2025

    How Influencers Are Driving NFT FOMO—and When It Backfires

    July 6, 2025

    Here’s What Actually Matters Now for Marketers

    July 6, 2025

    A New Funnel for Influencer Lead Gen

    July 4, 2025

    Influencer Gathering on a Tennis Court Fuels Buzz Around ASOS Nike Collection

    July 4, 2025
    Categories
    • Content Marketing
    • Digital Marketing
    • Digital Marketing Tips
    • Email Marketing
    • Influencer Marketing
    • Marketing Trends
    • SEM
    • SEO
    • TikTok Academy
    • Tiktok Specialist
    • Website Traffic
    About us

    Welcome to YGLuk.com – Your Gateway to Digital Success!

    At YGLuk, we are passionate about the ever-evolving world of Digital Marketing and Influencer Marketing. Our mission is to empower businesses and individuals to thrive in the digital landscape by providing valuable insights, expert advice, and the latest trends in the dynamic realm of online marketing.

    We are committed to providing valuable, reliable, and up-to-date information to help you navigate the digital landscape successfully. Whether you are a seasoned professional or just starting, YGLuk is your one-stop destination for all things digital marketing and influencer marketing.

    Top Insights

    How to Build Sustainable NFT Campaigns with Micro-Influencers

    July 6, 2025

    How Influencers Are Driving NFT FOMO—and When It Backfires

    July 6, 2025

    Here’s What Actually Matters Now for Marketers

    July 6, 2025
    Categories
    • Content Marketing
    • Digital Marketing
    • Digital Marketing Tips
    • Email Marketing
    • Influencer Marketing
    • Marketing Trends
    • SEM
    • SEO
    • TikTok Academy
    • Tiktok Specialist
    • Website Traffic
    Copyright © 2024 Ygluk.com All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.