## Mount an Element

`element.mount(domElement: string | DOM element)`

The `element.mount` method attaches your [Element](https://docs.stripe.com/js/element.md) to the DOM.
`element.mount` accepts either a CSS Selector (e.g., `'#payment-element'`) or a DOM element.

You need to create a container DOM element to mount an `Element`.
Add an empty placeholder `div` to your payment form for each Element that you'll mount.
Stripe inserts an iframe into each `div` to securely collect payment information.

- `domElement`
  The CSS selector or DOM element where your [Element](https://docs.stripe.com/js/element.md) will be mounted.

### Example

```title
Mount an Element
```
