Scrolling=" yes / no / auto " frameborder=" any number, 0 for none, the higher the number the thicker the border " You may be thinking what else can I do with my iframe to make it look nicer or work better, well I will give you a list of attributes that can be used with the iframe and their meanings. To change it back you simply need the same code but with a different HTML page. Click here to change the page inside the iframe e.g.Ĭlick here to change the page inside the iframe Remember on links you have the target attribute, well give the link a target name the same as the name you have given the inline frame and your page will open up inside the frame. I have given the frame a name because if you want to open a page inside a frame it needs a name so you can target it. Sorry your browser does not support frames or is currently not set to accept them. is what will show to those users who can't view iframes (W.A.P phones for example). The text Sorry your browser does not support frames or is currently not set to accept them.
Then we determine the width and height of the iframe. Next we will give the frame a name, name="", this can also be called an ID. Now you see we have opened the iframe tag which is. JavaScript & JQuery: Interactive Front-End Web Developmentīasic Iframe code Sorry your browser does not support frames or is currently not set to accept them.