Explain about iframe, Computer Engineering

Assignment Help:

Q. Explain about IFRAME?

<IFRAME> is an HTML 4.0 addition to frames toolbox. Presently only MSIE supports <IFRAME>. Unlike frames created employing <FRAMESET> and <FRAME>, <IFRAME> creates a frame that sits in the middle of a regular non-framed web page. <IFRAME> works such as <IMG>, only rather than putting a picture on the page, it puts another web page.

For illustration, suppose within the same directory as this page there is a file known as "hello.html". This code puts hello.html into an inline frame:

<IFRAME SRC="hello.html" WIDTH=450 HEIGHT=100>

If you can see this, your browser doesn't understand IFRAME. Though we'll still link <A HREF="hello.html">link</A> you to the file.

</IFRAME>

Which gives us this inline frame:

Here's what the code means:

IFRAME

Name of the <IFRAME> tag

SRC="hello.html"

URL of the document to show in inline frame.

WIDTH=450 HEIGHT=100

Dimensions of the inline frame.

If you can see this, your browser doesn't understand IFRAME. However, we'll still

<A HREF="hello.html">link</A> you to the file.

Code between <IFRAME> and </IFRAME> isn't displayed by browsers which understand <IFRAME>. Browsers that don't understand <IFRAME> will display this code (as they don't know how to ignore it).

You can do most of the things with <IFRAME> which you can do with regular frames, including setting frame border, internal margins as well as setting information on scroll bars. You can use attribute so that you can set links to target frame.


Related Discussions:- Explain about iframe

What is dynamic random access memory, Q. What is Dynamic Random Access Memo...

Q. What is Dynamic Random Access Memory? RAM technology is divided into 2 technologies: Static and dynamic. A dynamic RAM (DRAM) is made with cells which store data as charge o

Address fields and phone fields , Make a nested struct to store a person's ...

Make a nested struct to store a person's name, address, and phone numbers.  The struct should have 3 fields for the name, address, and phone. The address fields and phone fields wi

How do you pass basic types by reference, How do you pass basic types by re...

How do you pass basic types by reference?   In the case of basic types like bool, int, uint, etc. you can in fact choose among the two forms. If you prefix the method parameter

Sorting circuit along with odd-even merging circuit, Q. Sorting Circuit alo...

Q. Sorting Circuit along with Odd-Even Merging Circuit? The merge sort algorithm needs two circuits which imply that one circuit for merging and another circuit for sorting the

Intelligent retrieval from database, Intelligent Retrieval from Database: D...

Intelligent Retrieval from Database: Database system are large bodies of facts about some subjects, which are used to answer users queries about that subject. The design of d

Script in multi user mode, What Component of LoadRunner would you use to pl...

What Component of LoadRunner would you use to play Back the script in multi user mode? Ans) The Controller component is used to playback the script in multi-user mode. This is c

How a file can be shared among different users, Discuss the different techn...

Discuss the different techniques with which a file can be shared among different users. Several popular techniques with that a file can be shared among various users are: 1

Classify data networks, Classify data networks. Data Network Classifica...

Classify data networks. Data Network Classifications: Data Networks are classified as per to their geographical coverage: - Wide area networks (WANs) - Metropolitan ar

Find how many bits of adc are required to get an resolution, Find how many ...

Find how many bits of ADC are required to get an resolution of 0.5 mV if the maximum full scale voltage is 10 V Ans. Given Resolution=.5mV Full scale output=+10v %resolut

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd