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

Need help for online tutoring platform, Online Tutoring platform I am se...

Online Tutoring platform I am seeking to have a website designed as well as programmed that will allow students and tutors to connect and work together on an online platform wit

Web design required for graphic company, Web Design A digital media as w...

Web Design A digital media as well as graphic company is seeking an individual with web experience to work with the company to update as well as manage its four web sites. De

Need help in wordpress website migration and move, Wordpress website migrat...

Wordpress website migration / move We have a word press site that is not working with the duplicator plugin. We just want it shifting across to some new hosting. Must just

Application layer - osi model layer, Application layer: In the OSI model i...

Application layer: In the OSI model it's the topmost layer which enables the user to access the network. For network applications this layer provides user interface like remote lo

Wordpress script needed for poker site, Monthly Poker Ranking well-matched ...

Monthly Poker Ranking well-matched with Wordpress My website by now have a poker ranking The ranking is pretty modest. I feed it uploading XLS files which are very simple, up

Webservices, can you explain webservices

can you explain webservices

Need help in html5 web development, Need help in HTML5 Web development I...

Need help in HTML5 Web development I will want a web developer to 1) Create an interactive html5 page like the drag as well as throw feature in this website. The images ar

We are in need of a junior ruby on rails developer, We are in need of a Jun...

We are in need of a Junior Ruby on Rails Developer In search of a junior Ruby on Rails developer to work on an array of projects. Creativity as well as good communication ski

Font tag, HTML provides the flexibility of altering the characteristics of ...

HTML provides the flexibility of altering the characteristics of the font like size, color etc. Every browser contains a default font setting which governs the default font name, s

Website development fo responsive site, Website Development We have a st...

Website Development We have a static website that we would willing to change to a responsive wordpress site. We would willing a quote for design of the mobile versions based

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