What Is The Difference Between Javascript And Iframe Embed Codes

What Is The Difference Between Javascript And Iframe Embed Codes