I have a VisualForce page with an
<apex:iframe> component embedded into it, however when I change it to a regular HTML iFrame, it still seems able to display the page fine with no problems.
What're the differences between the Apex component and regular iframe? I had a feeling a regular iframe wouldn't be able to access the visualforce page I needed, but if it can, why should I use the provided apex component instead?
You should check the Documentation
It renders into this:
As Mukesh Verma has already commented that Visualforce tags provide certain attributes which are easy to use and make life of Developer very easy as you don't need to write extra code for them.
I haven't found any DOC which specifically compares the
apex:iframewith iframe although here are several benefits of using Visualforce
As far as i understand visualforce tags are higher level layer on the basic tags so if something get change in the basic component you don't need to worry about that.