diff --git a/docs/docs/custom-html.md b/docs/docs/custom-html.md
index 768922b06bbc7..6a07bf74f3191 100644
--- a/docs/docs/custom-html.md
+++ b/docs/docs/custom-html.md
@@ -40,3 +40,18 @@ If you see this error: `Uncaught Error: _registerComponent(...): Target containe
dangerouslySetInnerHTML={{ __html: this.props.body }}
/>
```
+
+### Adding custom JavaScript
+
+You can add custom JavaScript to your HTML document by using React's [dangerouslySetInnerHTML](https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml) attribute.
+
+```jsx
+
+```