Include an HTML file issued from a R Markdown file

Open in a new tab

The following picture is clickable, to open the HTML file in a browser tab:

.

The code behind this picture is:

<a href="/pages/just_a_page.html">
  <img src="/images/open_in_new_tab.jpg" alt="." width="30vw">
</a>

Embed the HTML page

The code of the iframe below is:

<iframe 
  width="100%"
  height="2300"
  src="/pages/just_a_page.html"
  frameborder="0"
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
  allowfullscreen>
</iframe>

The result is: