anpigon's picture
Add favicon and image assets for Obsidian help and developer documentation
c63ff03
|
raw
history blame
1.37 kB
metadata
aliases:
  - How to/Embedding web pages
  - Iframe
  - Editing and formatting/Embedding web pages

Learn how to use the 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:

<iframe src="INSERT YOUR URL HERE"></iframe>

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".

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]]:

![](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]]:

![](https://twitter.com/obsdmd/status/1580548874246443010)