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 are modes of operation of centralized spc, What are modes of operation...

What are modes of operation of centralized SPC? In about all the present day electronic switching systems utilizing centralized control, only a two-processor configuration is

Define edge triggered d flip flop, Define Edge Triggered D flip-flop? D...

Define Edge Triggered D flip-flop? D latch has only two inputs C(control) and D(data). The operation of a D flip-flop is a lot simpler and it has only one input addition to the

How do we draw in a different color in gimp, At the bottom of the toolbar t...

At the bottom of the toolbar there is a box with two lesser boxes and an arrow. The uppermost box displays the present foreground color; the lowermost box shows the present backgro

what is lrd_stmt?, The lrd_stmt function associates a character string (ge...

The lrd_stmt function associates a character string (generally a SQL statement) with a cursor. This function sets a SQL statement to be processed.

Unification - artificial intelligence, Unification - Artificial intelligenc...

Unification - Artificial intelligence: We have said that the laws of inference for propositional logic detailed in the previous lecture can also be used in first-order logic.

What is the benefit of using linq on dataset, The main aim of using LINQ to...

The main aim of using LINQ to Dataset is to run strongly typed queries on Dataset. Assume we want to combine the results from two Datasets, or we need to take a distinct value f

Explain about workstations, Q. Explain about Workstations? The workstat...

Q. Explain about Workstations? The workstations are used for engineering applications like CAD/CAM or other types of applications which need a moderate computing power and rela

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