# Embed code or create code block to display external content on a Hubspot web page

**URL:** <https://community.hubspot.com/t/embed-code-or-create-code-block-to-display-external-content-on-a-hubspot-web-page/82346>\
**Category:** CMS Development\
**Tags:** html\
**Created:** [May 31, 2023, 12:19pm UTC](https://community.hubspot.com/t/embed-code-or-create-code-block-to-display-external-content-on-a-hubspot-web-page/82346 "2023-05-31T12:19:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [May 31, 2023, 2:06pm UTC](https://community.hubspot.com/t/embed-code-or-create-code-block-to-display-external-content-on-a-hubspot-web-page/82346/2 "2023-05-31T14:06:07Z")

</div>

Hey @Chappers if you’re just trying to add some custom code onto your site you could just use the “[source code](https://knowledge.hubspot.com/website-pages/edit-content-in-a-rich-text-module#:~:text=To%20access%20the%20source%20code,complex%20HTML%20to%20your%20page.)” button within a rich text module.  
Alternatively if you plan on reusing it, it might be beneficial to just create a custom module within the design manager and copy your code in here: [Create and edit modules in the design manager](https://knowledge.hubspot.com/design-manager/create-and-edit-modules)  
I just tested this out however and it looks like there’s actually an issue with the code itself that’s causing it not to appear on the page:

 ![TomM2_0-1685541960390.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/9/95d3973207e1ebae52cfdbe471834679789095a6.png)

---

_[View the full topic](https://community.hubspot.com/t/embed-code-or-create-code-block-to-display-external-content-on-a-hubspot-web-page/82346)._
