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

Experienced php and ruby on rails programmer required, Experienced PHP and ...

Experienced PHP and Ruby on Rails Programmer Required We have a requirement of Experienced and dynamic PHP and Ruby on Rails developer who can work in PHP 3rd party APIS and can

I need assistance support to update website information, I need assistance ...

I need assistance support to update Website information Update copy as well as pictures on existing website. Job description- I have a current website that I like. I simpl

Create a web page to display moving message, 1. Develop a Web page via...

1. Develop a Web page via href attribute of anchor tag and the attribute: vlink, alink, etc. 2. Develop a Web page, in which when the user clicks on the link it will go to

Need help to convert wix website to shopify, Need help to Convert wix websi...

Need help to Convert wix website to shopify We want to convert our wix web store to shopify platform. No requirement to change the design. Desired Skills are Shopify

I want a web application which manages the schedule class, Web application ...

Web application I want a web application which manages the schedule classrooms the literature the courses tuition fees and I can input grades. All the above will interact. Ro

I need help in website online designer work, I need help in Website Online ...

I need help in Website Online Designer Work I have a website that I paid to get done about three years ago and really have not been able to use it because it doesn't work proper

How php statement is different from php script, How PHP statement is differ...

How PHP statement is different from PHP script? Difference between PHP script and PHP statement is that statements are set of instructions which tell PHP to perform an action.

We are in need of front end web developer and designer, We are in need of F...

We are in need of Front End Web Developer and Designer In search of someone who can convert my PSD files to HTML, HTML5, PHP. Who understands as well as works on websites, la

Require a expert ruby on rails developer for ios and android, Require a exp...

Require a experts in Ruby on Rails developer for iOS and Android API I have a mobile app on iOS as well as Android which runs on a Ruby on Rails API. I would like to make some e

We are in need of wordpress expert, We are in need of Wordpress Expert I...

We are in need of Wordpress Expert I'm seeking wordpress expert that can done my website as well as mobile version in wordpress. Comprise all UI design and Google plus account.

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