I am writing a post on HTML. Afcorse the post will have
Codes in it. So for showing results in the post, I am taking help of JSFiddle, by embedding results of the code.
JSFiddle gives two methods for embedding results:
<script async src="//jsfiddle.net/o7usdL0a/embed/result/"></script>
<iframe width="100%" height="300" src="//jsfiddle.net/o7usdL0a/embedded/result/" allowfullscreen="allowfullscreen" allowpaymentrequest frameborder="0"></iframe>
My question is which method should be recommended for embedding results? (Script/IFrame)? Why?
Does any of the above method affect my site performance?
Is there any other alternative method/plugin which will be more fast and better than the above two methods?