No frames tag, PHP Web Programming

Assignment Help:

The <NOFRAMES> tag can be employed for those browsers which are not able to interpret <FRAME> tags. Even if most, if not all, of your visitors will be capable to see frames, there are still a small number of such browsers and still there are several users around who do not have the latest in equipment. To address as extensive an audience as achievable, you could write a no-frames version of your page.

<HTML>

<HEAD>

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

</HEAD>

<FRAMESET COLS="50,*,2*">

<FRAMESET ROWS="50,*,*">

<FRAME SRC="One.htm">

<FRAME SRC="Five.htm">

<FRAME SRC="Six.htm">

</FRAMESET>

<FRAME SRC="Two.htm">

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

<FRAME SRC="Three.htm">

<FRAME SRC="Four.htm">

</FRAMESET>

</FRAMESET>

<BODY><NOFRAMES> your browser does not handle frames! </NOFRAMES>

</BODY>

</HTML>

1787_No frames Tag.png

Figure: Putting in a NOFRAMES Version

Put your non-frames page down among the <NOFRAMES> tags. If someone is using an old browser, this will skip everything above & come straight down here. Frames-capable browsers will disregard what is among the <NOFRAMES> tags.

In the frames we can also put images. Let us see how to put in "world.gif" as an instance.

<FRAME SRC="world.gif" WIDTH=146 HEIGHT=162>

The scrollbars which you see can be specified as NO, YES or AUTO. YES refer for the window gets scrollbars - whether they are required or not. NO refer for there will be no scrollbars. AUTO means the default. If scrollbars are required, they appear whereas if they are not required they stay conveniently out of the way. Thus let us see how to get rid of our scrollbars.

          <FRAME SRC="world.gif" WIDTH=146 HEIGHT=162 SCROLLING=NO>

You would note a problem with this code that image is not in the right frame. The next two attributes deal to margins. The browser gives each frame some empty space around its contents automatically. Normally this is useful for aesthetic purposes. You might control the size of these margins via MARGINWIDTH & MARGINHEIGHT. They control left & right and top & bottom margins respectively. We will both of them set to 1. (1 is the minimum)

<HTML>

<HEAD>

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

</HEAD>

<FRAMESET COLS="146,*">

<FRAMESET ROWS="162,*">

<FRAME SRC="world.gif" WIDTH=146 HEIGHT=162 SCROLLING=NO MARGINWIDTH=1 MARGINHEIGHT=1>

<FRAME SRC="One.htm">

</FRAMESET>

<FRAME SRC="Two.htm">

</FRAMESET>


Related Discussions:- No frames tag

Use of meta tag, In this unit we have learnt how to create simple HTML page...

In this unit we have learnt how to create simple HTML pages. The contents of the page have to be written within the BODY tag. The HEAD tag includes the title of the document. An im

Implementing a multi-tenant configuration in moodle, Moodle integration ...

Moodle integration We have developed a web site with joomla that proposals to our clients different services. One service we are now realising is to integrate our joomla site

SMTP., How do Iconfigure SMTP on a server?

How do Iconfigure SMTP on a server?

Need a php front end developers, PHP Front End Developers - V Portal See...

PHP Front End Developers - V Portal Seeking a PHP front-end web developer familiar with API to develop web application. Project comprises creating functions following the MVC

Cell padding, You will make modify to the cells which contain text. Since y...

You will make modify to the cells which contain text. Since you can see, the text is too close to the edges of the cells. You will add padding to the cells to leave room among the

Usenet and newsgroups, On Internet there exists another way to meet people ...

On Internet there exists another way to meet people & share information. One of such way is through Usenet newsgroups. These are special groups established through people who want

We need help in likenet upgrade - slot machine, We need help in Likenet Upg...

We need help in Likenet Upgrade - Slot machine LikeNet Upgrade - Slot Machine Users is able to gamble their credits A visual/engaging/animated slot machine. Looks merely l

Custom wordpress site dev and integration with custom data, Custom WordPres...

Custom WordPress site dev and integration with custom data-driven application We have an current site that has been built with native WP functionality. A modest WP user table

Wix commerce site needs shopping backend integration, WIX commerce site nee...

WIX commerce site needs 1shopping backend integration Project Description: We sell children's furnitureRIEchildrensFurniture and want a robust backend integrated shopping car

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