# Creating a custom HTML module

**URL:** <https://community.hubspot.com/t/creating-a-custom-html-module/74393>\
**Category:** Blog, Website & Page Publishing\
**Created:** [February 2, 2023, 9:51pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393 "2023-02-02T21:51:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HWhite53](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@HWhite53](https://community.hubspot.com/u/HWhite53)\
**Post date:** [February 2, 2023, 9:51pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/1 "2023-02-02T21:51:16Z")

</div>

Hi there!

I’m trying to create a new module so I can put ANY custom HTML into it for landing pages and emails. Does anyone know how to do this? Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [February 3, 2023, 1:21am UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/2 "2023-02-03T01:21:46Z")

</div>

Hi @HWhite53 if you just want to add HTML to an Landing Page, you can use the rich text module found under Common Modules.

You can use HTML and CSS to your hearts content in the rich text editor for landing pages, but the same is not true for emails…

---

<div class="post-metadata">

**Author:** ![jkeough78](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jkeough78/32/83064_2.png) [@jkeough78](https://community.hubspot.com/u/jkeough78)\
**Post date:** [January 5, 2024, 3:21pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/3 "2024-01-05T15:21:32Z")

</div>

The Rich Text module isn’t great for pasting html/javascript code because it edits the code which can break the html/javascript. Need a standard html module please.

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [January 5, 2024, 4:01pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/4 "2024-01-05T16:01:09Z")

</div>

@jkeough78 The easiest way to create the custom module would be via Design Manager, since this was posted in the Marketing discussion (and not the Developer discussion) I provided the path of least resistance via the DnD editor, which likely wasn’t the best option.

[Creating a new module](https://knowledge.hubspot.com/design-manager/create-and-edit-modules) in design tools allows you to add your HTML/JS as needed.

---

<div class="post-metadata">

**Author:** ![jkeough78](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jkeough78/32/83064_2.png) [@jkeough78](https://community.hubspot.com/u/jkeough78)\
**Post date:** [January 5, 2024, 7:07pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/5 "2024-01-05T19:07:02Z")

</div>

Thank you! Yeah, I’ll have to create a custom module. I’m hoping that Hubspot will make a standard module for pure just code/html. I’ll have to add a feature request.

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [January 5, 2024, 7:33pm UTC](https://community.hubspot.com/t/creating-a-custom-html-module/74393/6 "2024-01-05T19:33:58Z")

</div>

You’re welcome! Let me know if you add to the Ideas and I’ll upvote! 🙂
