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.

Slides:



Advertisements
Similar presentations
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Advertisements

Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Tutorial 4: Designing a Web Page with Tables
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.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
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.
The Power of Tables They aren't just for sitting stuff on anymore...
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.
Lesson 4 HTML Structural Design Techniques
 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.
HTML 2 FRAMES. Frames Intro Frames are a feature supported by Netscape 2.0 (and higher) Internet Explorer 3.0 (and higher) and a few other browsers. Frames.
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.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
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.
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: 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.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
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.
1 HTML Frames
1 Planning and Laying Out Frames Sketch the frame structure on paper before writing the HTML code two rows two columns.
For the World Wide Web Designing with Frames.  One of the most popular climbing schools in Colorado is Cliff Hangers. Located in Bolder, Cliff Hangers.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
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.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
Jozef Goetz, © 2011 Pearson Education Copyright (c) 2007Prentice-Hall. All rights reserved.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Using Frames in a Website GMU November 12-13, 2004.
HTML: Tables & Frames Internet Technology.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
CH. 7 Web Page Design –Page Layout with Frames Mr. Ursone.
1 HTML Frames
HTML Frames.
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
INTRODUCTORY Tutorial 9 Creating Frames. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Decide when to use frames for a Web site Learn.
1 HTML Frames
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
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
FRAMES.
Tutorial 8 Designing a Web Site with Frames
Designing a Web Site with Frames
Programming the Web using XHTML and JavaScript
Client-Side Internet and Web Programming
Tutorial 8 Designing a Web Site with Frames
HTML Frames
New Perspectives on Creating Web Pages with HTML
Presentation transcript:

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 only a few files rather than the whole. n Web designers create both framed and non-framed versions for a Web site and give users the option of which one to use.

Disadvantages to Using Frames n The browser has to load multiple HTML files –increasing wait time n Some older browsers cannot display frames. n Some users do not like using frames. n Some web authors feel that frames are too constricting. n Frames can use up valuable screen space. n The source code is hidden.

Creating a Frame Layout The tag is used to store the definitions of the various frames in the file. These definitions will typically: –include the size and location of the frame –include the Web pages the frames display The code does not include an opening and closing tag. –the reason for this is that this HTML file displays the contents of other Web pages; technically, it is not a Web page

Specifying Frame Size and Orientation n For frame layout –use rows and cols attributes of n frameset is defined by rows or columns, but not both. n Must choose to layout frames in either rows or columns.

The Frame Syntax n The syntax for creating a row or column frame layout is: – row height is the height of each row or – column width is the width of each column

Frames Defined in either Rows or Columns This figure shows frame layouts in either rows or columns.

Row and Column Sizes n Row and column sizes can be specified in three ways: –in pixels –as a percentage of the total size of the frameset –by an asterisk (*)

Columns Example n This frameset was created by the following code:

Rows Example n This frameset was created by the following code:

Defining Rows and Columns Using an Asterisk (*) n The asterisk instructs the browser to allocate any unclaimed space in the frameset to the particular row or column. –for example, the tag creates two rows of frames. Specify at least one of the rows or columns of your tag with an asterisk to ensure that the frames fill up the screen. n You can use multiple asterisks. n The browser divides the remaining display space equally among the frames with the asterisks. –for example, the tag creates three rows of frames with equal heights.

Frames of Different Sizes This figure shows frames of different sizes. 160 pixels wide25% of the width of the display area whatever space is left

Example n

Creating Two Rows of Frames tag creates two rows of frames: the first 85 pixels high and the second occupying the remaining display area

Specifying a Frame Source To specify a source for a frame, use the tag with the syntax: n The URL is the filename and location of the page that you want to load. You must insert the tag between the opening and closing tags.

The Tag n Defines the content in each frame n Placed between the tags n The src attribute specifies the file that will appear in the frame n In the following example, the page that will appear in the top frame is the file fl-toc.html, and the page that will appear in the lower frame is fl-second.html.

Nesting Tag n Remember that a frameset is defined by rows or columns, but not both. n To create frames using both rows and columns, one frameset must be nested inside another. n The interpretation of the rows and cols attributes changes slightly.

Controlling the Appearance of Your Frames n You can control three attributes of a frame: –scroll bars –the size of the margin between the source document and the frame border –whether or not the user is allowed to change the size of the frame

Setting the Border Color n To change the color of a frame’s border, use the bordercolor attribute. The attribute can be applied either to an entire set of frames, using the tag, or to individual frames, using the tag. n The syntax for this attribute is: – or – –color is either a color name or a color value

Thank You n Thank you