HTML File Embeds
As we all know, there is now embeds for files of several types, such as .txt, .html, .json and so on.
What I believe would be useful (mostly for developers however owners can utilise) could be a feature where files like .html can display a preview.
This is how the code currently looks:

This is a draft that I made of how it could look - (my design skills leave much to be desired) - The top right corner shows a preview of how the HTML looks when the file is opened in a browser.

-
If you are calling it from the same root directory try removing the forward slash before the file name. Change your iframe src to the following:
<iframe src="a.html" height=1000 width=900></iframe>
Upon further investigation, OP was trying to iframe which happens to be a site that does not allow itself to be iframed.
0
Please sign in to leave a comment.
Comments
1 comment