# HTML code paste issues

**URL:** <https://community.hubspot.com/t/html-code-paste-issues/122800>\
**Category:** Email Marketing Tool\
**Tags:** marketing-email\
**Created:** [December 19, 2024, 9:26am UTC](https://community.hubspot.com/t/html-code-paste-issues/122800 "2024-12-19T09:26:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![breitconsulting](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@breitconsulting](https://community.hubspot.com/u/breitconsulting)\
**Post date:** [December 19, 2024, 9:26am UTC](https://community.hubspot.com/t/html-code-paste-issues/122800/1 "2024-12-19T09:26:11Z")

</div>

Hi,

I’m trying to paste my HTML email code into the ‘Edit HTML’ module when creating a new email.

Upon pasting my code, the error appears in red text: **These closing tags are missing: \</div\>,\</table\>These tags are not allowed in this module: "body","html","head"**

The said code is the following:

```lia-code-sample
<!DOCTYPE html>
<html>
<head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
 <p><br></p>
 <div dir="ltr"><br><br><tbody>

```

Help would be much appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![GiantFocal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/giantfocal/32/41969_2.png) [@GiantFocal](https://community.hubspot.com/u/GiantFocal)\
**Post date:** [December 19, 2024, 9:28am UTC](https://community.hubspot.com/t/html-code-paste-issues/122800/2 "2024-12-19T09:28:41Z")

</div>

Hi @breitconsulting,

You can try to paste the code into a code editor app first, then copy and paste it into HubSpot.

Let me know if that doesn’t work.
