Frame tag, PHP Web Programming

Assignment Help:

As you can supposition, this tag is utilized for placing an HTML file in the frame created. We have to now tell the browser what to put in each of frame.

Check out the code for all the FRAM ES associated examples. Do we need a <BODY> tag?

<HTML>

<HEAD>

<TITLE>My Frame Page- Master Page</TITLE>

</HEAD>

<FRAMESET COLS="50%,50%">

<FRAME SRC="One.htm">

<FRAME SRC="Two.htm">

</FRAMESET>

</HTML>

You also have to note here that <FRAMESET> is a container tag, and <FRAME> is not. A container tag contain an opening <TAG> and a closing </TAG>.  Thus notice that the <FRAME> tag has no delimiter to terminate it.  Everything is in its attributes.

The <FRAMESET> tag does all the splitting of the page into distinct windows. It also has attributes which indicate how to divide them up. Can we split the page into more than two pieces? Yes, just ensure that you indicate a page to occupy each of the section or the browser will get confused. Look at the code & the output in Figure

<HTML>

<HEAD>

<TITLE>My Frame Page- The Master Page</TITLE>

</HEAD>

<FRAMESET COLS="20%, 20%,20%,20%,20%">

<FRAME SRC="One.htm">

<FRAME SRC="Two.htm">

<FRAME SRC="Three.htm">

<FRAME SRC="Four.htm">

<FRAME SRC="Five.htm">

</FRAMESET>

</HTML>

817_Frame Tag.png

Figure: A Web Page with Five Frames

It is just a small step to making the frames all of distinct sizes. Just ensure your arithmetic is correct and that the percentages you indicate add up to 100 or the browser will come up along with its own interpretation.

If we spilt the page into ROWS rather than COLS we get a distinct layout.

<HTML>

<HEAD>

<TITLE>My Frame Page- Master Page</TITLE>

</HEAD>

<FRAMESET ROWS="10%,20%,30%,15%,25%">

<FRAME SRC="One.htm">

<FRAME SRC="Two.htm">

<FRAME SRC="Three.htm">

<FRAME SRC="Four.htm">

<FRAME SRC="Five.htm">

</FRAMESET>

</HTML>

Now Let us take another example with only 2 frames. We can specify 50 to indicate that number of pixels instead of 50 percent. We can also use * instead of a number. The * means whatever is left over.      

<HTML>

<HEAD>

<TITLE>My Frame Page- The Master Page</TITLE>

</HEAD>

<FRAMESET COLS="50,*">

<FRAME SRC="One.htm">

<FRAME SRC="Two.htm">

</FRAMESET>

</HTML>


Related Discussions:- Frame tag

I need help in phpbb modifications for course type forum, PHPBB modificatio...

PHPBB modifications (course type forum) I desire to make a different view/organization of the viewForum.php for my phpBB site. To support this change certain changes desires

Review business needs and completed designs, SEO skills are of paramount im...

SEO skills are of paramount important and expertise in HTML, CSS, Wordpress are critical. Our designs will be provided, we simply require a team to help code the site and employ th

Local area network, It is a privately - owned computer networks confined to...

It is a privately - owned computer networks confined to small geographical area, like an office or a factory extensively used to connect office PCs to share information & resources

Need help in responsive architectural portfolio, Responsive Architectural P...

Responsive Architectural Portfolio, HTML5 and jQuery We are seeking a new website to showcase our architectural projects. I have a good hint of exactly how I want the website

Want expert assistance in wordpress plugin development, Wordpress Plugin De...

Wordpress Plugin Development Our company is needing somebody with awesome skills like yours to build a custom WP Plugin are you available for the project? Desired Skills are

Shopping Cart, Shopping Cart Purpose – Allows user to browse while keeping ...

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

We need help in wordpress features development, We need help in Wordpress F...

We need help in Wordpress Features development We are utilizing a wordpress theme already we want to integrate this following features similar to this website 1) Loan calculator

Executing deferred scripts, Deferred scripts do not immediately do anything...

Deferred scripts do not immediately do anything. To use deferred commands, you have to call them from outside the deferred script. There are three methods to call deferred scripts

Need help in php programmer with codeigniter exp, PHP Programmer with CodeI...

PHP Programmer with CodeIgniter exp CodeIgniter and PHP Programming We want highly talented individuals to work with our company. You must be- Puntual Honest Resp

Need nationbuilder developer, NationBuilder Developer We are seeking a l...

NationBuilder Developer We are seeking a long term NationBuilder developer to help us at our agency we produce websites for churches as well as nonprofits on the NB platform as

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