Learn how to use the [iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) HTML element to embed web pages in your notes.
To embed a web page, add the following in your note and replace the placeholder text with the URL of the web page you want to embed:
```html
<iframe src="INSERT YOUR URL HERE"></iframe>
```
> [!note]
> Some websites don't allow you to embed them. Instead, they may provide URLs that are meant for embedding them. If the website doesn't support embedding, try searching for the name of the website followed by "embed iframe". For example, "youtube embed iframe".
> [!tip]
> If you're using [[Canvas]], you can embed a web page in a card. For more information, refer to [[Canvas#Add cards from web pages]].
## Embed a YouTube video
To embed a YouTube video, use the same Markdown syntax as [[Basic formatting syntax#External images|external images]]:
```md
![](https://www.youtube.com/watch?v=NnTvZWp5Q7o)
```
![](https://www.youtube.com/watch?v=NnTvZWp5Q7o)
## Embed a tweet
To embed a tweet, use the same Markdown syntax as [[Basic formatting syntax#External images|external images]]:
```md
![](https://twitter.com/obsdmd/status/1580548874246443010)
```
![](https://twitter.com/obsdmd/status/1580548874246443010)