Show the noframes tag, Computer Engineering

Assignment Help:

Q. Show the Noframes Tag?

<NOFRAMES> tag can be used for those browsers which aren't able to interpret <FRAME> tags. Even though most, if not all, of your visitors would be able to see frames, there is still a small number of such browsers and there still are a number of users around who don't have latest in equipment. To address as wide an audience as possible, you can 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>

1602_Show the Noframes Tag.png

Figure: Putting in a NOFRAMES Version

Put your non-frames page down between <NOFRAMES> tags. If someone is using an old browser, it would skip everything above and come straight down here. Frames-capable browsers will ignore what is between <NOFRAMES> tags. We can also put images in frames. Let's see how to put in "world.gif"as an example.

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

Scrollbars that you see can be specified as YES, NO or AUTO. YES means window gets scrollbars - whether they are needed or not. NO means there would be no scrollbars. AUTO is the default. If scrollbars are required, they appear while if they aren't needed they stay conveniently out of the way. So let's see how to get rid of our scrollbars.

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

You would notice a problem with this code. The image isn't in the right frame. The subsequent two attributes deal with margins. Browser automatically gives each frame some empty space around its contents. This is normally useful for aesthetic purposes. You can control the size of these margins by using MARGINWIDTH and MARGINHEIGHT. They control the left and right and top and bottom margins respectively. We will set them both 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:- Show the noframes tag

Algorithms, Design an algorithm (using pseudocode) that takes in as an inpu...

Design an algorithm (using pseudocode) that takes in as an input, two 2-D int arrays that are assumed to be 2 black-and-white images: initialImage x, whose dimensions are IxJ, and

Explain cpu based exchange, Explain CPU based exchange. CPU Based Exch...

Explain CPU based exchange. CPU Based Exchange: All the control equipment is replaced with a single processor that must be quite powerful, in centralized control. This should

Cg transformations, magnify a triangle a(0,0), b(1,1), c(5,2) twice its siz...

magnify a triangle a(0,0), b(1,1), c(5,2) twice its size hile keeping c as fix

4 bit comparator, how to breadboARD THE 4 BIT COMPARATOR

how to breadboARD THE 4 BIT COMPARATOR

Develop a simple patient management system, In the first part of Assignment...

In the first part of Assignment 2A you will develop a simple Patient class, representing an Patient who is to be admitted for a minor procedure that only requires a 1-2 day stay in

Eme, state function and path function

state function and path function

Dynamic memory allocation function, Name the dynamic memory allocation func...

Name the dynamic memory allocation function? Three dynamic memory allocation functions are: a) malloc, b) calloc and c) free.

What is cyclomatic complexity, What is cyclomatic complexity? Cyclomati...

What is cyclomatic complexity? Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally calculate the complexity of a progr

Give solution for readers-writers problem, Give a solution for readers-writ...

Give a solution for readers-writers problem using conditional critical regions. Solution for readers-writers problem using conditional critical regions: Conditional critical

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