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

System for an online furniture shop, As an XML expert you are needed to mod...

As an XML expert you are needed to model a system for an online furniture shop. After an interview with the shop manager you have the certain information: The detail of th

What are the difference between heap and stack, What are the difference bet...

What are the difference between heap and stack? The Stack is more or less responsible for maintaining track of what's executing into our code or what's been "called". The Heap

Work in standard view, Layout view is helpful for laying out Web pages. How...

Layout view is helpful for laying out Web pages. However you can adjust most of your design elements in Layout view, certain changes should be completed in Standard view. When you

What is common language runtime, What is "Common Language Runtime" (CLR)?  ...

What is "Common Language Runtime" (CLR)?  CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that changes a MSIL code into the host machine language code,

First-order logic - artificial intelligence, First-Order Logic : There'...

First-Order Logic : There's Reasoning, and then There's Reasoning As humans, we have always prided ourselves on our capability to think things by: to reason things out and c

What are the general security issues, What are the General Security Issues ...

What are the General Security Issues Many issues exist when linking a computer system to the Internet or indeed to an external link via a network set up. There are numerous way

Define time sharing, Define Time Sharing. Time Sharing: Sharing of ...

Define Time Sharing. Time Sharing: Sharing of a computing resource among various users by means of multiprogramming and multi-tasking is termed as timesharing. By permittin

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