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 do you understand by client-server architecture, Question: (a) (i...

Question: (a) (i) Explain what do you understand by Client/server architecture? (ii) List and briefly describe 3 types of Client/server architecture. (b) The most impo

Determine if the product of two integers are even, If the product of two in...

If the product of two integers a and b is even after that prove that either a is even or b is even. Answer: It is illustrated that product of a and b is even so let a * b = 2n.

How to select valid lines for secondary list, How to select valid lines for...

How to select valid lines for secondary list? To stop the user from selecting invalid lines, ABAP/4 offers various possibilities.  At the end of the processing block END-OF-SEL

What is a c++ class, Class is a user-defined data type in C++. It can be fo...

Class is a user-defined data type in C++. It can be formed to solve a particular kind of problem. After creation the user require not know the specifics of the working of a class.

What is clear operation, Clear operation The clear operation compares w...

Clear operation The clear operation compares words present in A and B and produces an all 0's result if two numbers are equal. This operation is achieved by the exclusive-OR mi

Using binary search, A sorted file having 16 items. Using binary search, th...

A sorted file having 16 items. Using binary search, the maximum number of comparisons to find for an item in this file is The maximum number of comparison is 4

How to add noise to an image in matlab, The function noise.m, now installed...

The function noise.m, now installed on ashland too, adds Gaussian, salt, uniform and pepper, additive or multiplicative noise to an image

Explain chomsky classification of languages, Explain chomsky classification...

Explain chomsky classification of languages with suitable examples Ans: Any language is appropriate for communication provided the syntax & semantic of the language is termed t

Shm, composition of two shm in right angles to each other to havingg time p...

composition of two shm in right angles to each other to havingg time period in the ratio 1:2

Draw the logic diagram of 4-bit odd parity checkers, Normal 0 f...

Normal 0 false false false EN-IN X-NONE X-NONE

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