Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

What is difference between frame and Iframe in HTML? tccicomputercoaching.com

Frame allows you to show browser into the separate section. HTML5 supports frameset
tag in place of frame into the webpage.

A frameset allows you to split the screen into different pages (horizontally and vertically) and display different documents in each part.

IFrame is a web page which is embedded in another web page or an HTML document
embedded inside another HTML document. The IFrame is often used to insert content from another source, such as an advertisement, into a Web page.

frame-Iframe in html

Another difference is Iframe include only single HTML link, where frameset can include multiple HTML links and display accordingly.

Syntax:

1. Frameset There is no body element.

<frameset
rows=”100,150,20,80″> <frame src=”

../file_path/frame_1.html

” frameborder=”1″>
<frame src=”

frame_2.html

” frameborder=”1″ frameborder=”1″>
<frame src=”

frame_3.html

” frameborder=”1″>
<frame src=”

frame_4.html

” frameborder=”1″>
2.iframe: </frameset>

To learn more in detail about html elements at TCCI.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/

 

Leave a comment