---
title: "HTML Block"
description: "A Template reference of how the template is structured. This a useful information for building a custom block or editing templates in code."
url: https://docs.topol.io/email-editor/template-reference/blocks/html.html
---

# Topol HTML/Raw block

**The HTML block renders an `mj-raw`**, passing the raw markup in `content` straight through to the output.

```ts
interface TopolRawBlock extends TopolBlock {
  tagName: "mj-raw";
  attributes: {
    containerWidth: number;
  };
  content: string;
}
```
