FRAMES. With frames, we can display more than one HTML document in the same browser window. Each HTML document is called the same browser window. Each.

Slides:



Advertisements
Similar presentations
Frames. What are frames? The ability to divide the browser window into sections that can function independently of one another. Navigation within the.
Advertisements

Frames How to make a page that uses frames. Preview There used to be a time that frames were frowned upon because most browsers did not support them Nowadays.
Frames.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
1 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Using HTML and JavaScript to Develop Website.
XP Creating Web Pages with HTML, 3e Prepared by: C. Hueckstaedt, Tutorial 5 1 New Perspectives on Creating Web Pages with HTML Tutorial 5: Using Frames.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Create a Web Site with Frames
Web Technologies Lecture # 5 : HTML Frames. Objectives n Create/control appearance & placement of frames n Control the behavior of hyperlinks on pages.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
 You've probably come into contact with web sites in which the browser window seemingly allowed you to move around between several different pages. 
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
Frameset. FrameSet With frames, we can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each.
Using Frames in a Web Site
XP Tutorial 5New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
WHAT are frames? what.html are.htmlframes.html. Intro to Frames HTML frames allow you to display more than 1 HTML document in the same browser window.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
1 Web Developer & Design Foundations with XHTML Chapter 5 Key Concepts.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
Frame Page A Frame Page does the following: –Defines the size of each frame. –Defines how the window will be broken up – rows or columns. –Specifies which.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 7: Working with Frames Kelly L.
Working with HTML Frames The Good, The Bad & The Ugly.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
HTML : Forms, Frames Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
1 Planning and Laying Out Frames Sketch the frame structure on paper before writing the HTML code two rows two columns.
1 Web Developer Foundations: Using XHTML Chapter 5 Key Concepts.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Chapter 8 HTML Frames. 2 Principles of Web Design Chapter 8 Objectives Understand the benefits and drawbacks of frames Understand and use frames syntax.
Web111a_chapt05.ppt HTM: Section 5 Frames A section of the browser window capable of displaying an entire web page Display multiple web pages on the screen.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
HTML Hypertext Markup Language. WORKING WITH FRAMES.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
1 HTML Frames
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
HTML Frames.
Web Page Design Frames! Yet Another Way to Divide Up The Screen. Using HTML and JavaScript to Develop Website.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML FRAMES With Frames, you can display more than one Web page in the same browser window.
HTML Frames. Advantages to Using Frames n flexibility in design n information in different Web pages n remove redundancy. n site easier to manage. n update.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with Frames.
1 HTML Frames
Microsoft FrontPage 2003 Illustrated Complete Creating a Frames Page.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Introduction to HTML.
Client-Side Internet and Web Programming
HTML Structure II (Frame)
FRAMES.
Tutorial 8 Designing a Web Site with Frames
Designing a Web Site with Frames
Client-Side Internet and Web Programming
Tutorial 8 Designing a Web Site with Frames
HTML Frames
Creating Frames on a Web Page
Presentation transcript:

FRAMES

With frames, we can display more than one HTML document in the same browser window. Each HTML document is called the same browser window. Each HTML document is called a frame, and each frame is independent of the others

Advantages of Frames 1. They allow parts of the screen to remain static while other parts scroll. This can be useful for navigation menus or logos that you don't want to scroll off the screen. 2. They can be handy when you want the user to be able to view a number of images chosen from a long list. 2. we can introduce material from different servers on the same page, simply by assigning the appropriate URL's.

The disadvantages of using frames are: 1.„ The web developer must keep track of more HTML documents 2.It is difficult to print the entire page 3.Since a framed page is loading more than one URL, it may load more slowly, particularly if calling upon different servers „

The Frameset Tag 1.The tag defines how to divide the window into frames 2. Each frameset defines a set of rows or columns 3. The values of the rows/columns indicate the amount of screen area each row/column will occupy

A FRAMESET's attributes 1.ROWS- Splits the window vertically into a number of rows specified by one of: a)A number of rows. b)A percentage of the total window height. EX: ROWS="10%". c) It will divide the space evenly between frames if multiple frames are specified with the asterisk. d)An asterisk means the frame will occupy all the remaining space. 2.ColS - Splits the window horizontally into a number of columns specified by one of: a)A number of columns. b)A percentage of the total window width. EX: ColS="10%". c)An asterisk means the frame will occupy all the remaining space. It will divide the space evenly between frames if multiple frames are specified with the asterisk.

3.FRAMEBORDER: Possible values 0, 1, YES, NO. A setting of zero will create a borderless frame. 4.FRAMESPACING: This attribute is specified in pixels. If you go to borderless frames you will need to set this value to zero as well, or you will have a gap between your frames where the border used to be. 5.BORDER: Possible values 0, 1. A setting of zero will create a borderless frame. 6.BORDERCOLOR: This attribute is allows you choose a color for your border. This attribute is rarely used.

The Frame Tag The tag defines what HTML document to put into each frame

Attributes are… 1.SRC: Required, as it provides the URL for the page that will be displayed in the frame. 2.NAME: Required for frames that will allow targeting by other HTML documents. Inorder for alink to display the retrieved file in a frame otherthan the frame in which the link was {Clicked} in,the targeted frame must be referenced by its name. 3.MARGINWIDTH: Optional attribute stated in pixels. Determines horizontal Space between the contents and the frame's borders. 4.MARGINHEIGHT:Optional attribute stated in pixels. Determines vertical space between the contents and the frame's borders.

5.SCROLLING: Displays a scroll bar(s) in the frame. Possible values are: a)yes – always display scroll bar(s) b)no – never display scroll bar(s) c)auto – browser will decide based on frame contents The default value for this attribute is “auto”. 6.NORESIZE: Optional - prevents viewers from resizing the frame. By default the user can stretch or shrink the frame'sdisplay by selecting the frame's border andmoving it up, down, left, or right.

Vertical frameset

Horizontal frameset

Mixed frameset

Frameset with noresize="noresize"

Navigation frame- Jump to a specified section with frame navigation navigation frame

Try.html frame a frame b

tag The HTML noframes tag is used (in conjunction with the frameset tag) for specifying alternative content for browsers that don't support frames. Syntax:

How to use the tag Your browser does not handle frames!

HTML Iframes An iframe is used to display a web page within a web page. Attributes: 1.Name-Assigns a name to a frame. This is useful for loading contents into one frame from another. 2.Longdesc-A long description - this can elaborate on a shorter description specified with the title attribute. 3.Width-Specifies the width of the inline frame. 4.Height-Specifies the height of the inline frame.

Some older browsers don't support iframes. If they don't, the iframe will not be visible.