Working with HTML Frames The Good, The Bad & The Ugly.

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.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
Frames 1 Lecture HTML: Frames and Miscellaneous Tags.
Compiled by ackoo Creating Frames. Compiled by ackoo Recall this… Table cell 1 Table cell 2 Table cell 3 Table cell 4.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
Frames How to Create Frames in HTML Dr. Sanders. Why Frames? Frames allow you to have more than a single window on the screen at the same time. –You can.
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.
 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.
Lecture on: Frames. FRAMES VERSUS TABLES Frames allow part of the page, usually a navigation bar, to stay put.
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 Advanced HTML Joshua S. Simon Collective Technologies.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
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.
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.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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 Planning and Laying Out Frames Sketch the frame structure on paper before writing the HTML code two rows two columns.
Frames 2 nd March. Write the code for this using tables and using layers …..
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.
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.
Chapter 5: Windows and Frames
HTML: Tables & Frames Internet Technology.
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.
FRAMES. Frames allow you to divide the page into several rectangular areas and to display a separate document in each rectangle. Each of those rectangles.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
1 HTML Frames
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
HTML FRAMES With Frames, you can display more than one Web page in the same browser window.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Working with Frames.
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)
Lesson 9. Test 1 How was the test ? Assignment 1 (must complete satisfactorily even if you do not get any marks for it !!!!!!)
Introduction to HTML.
HTML Structure II (Frame)
FRAMES.
Programming the Web using XHTML and JavaScript
Client-Side Internet and Web Programming
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
HTML Tables & Frames Internet Technology.
HTML Frames
HTML Tables & Frames Internet Technology.
Presentation transcript:

Working with HTML Frames The Good, The Bad & The Ugly

Frames Overview Method of dividing the browser window into two or more sub-windows Creating a framed page is like specifying a “blueprint” for a house No content is specified in the HTML script that creates a framed page Use frames only when absolutely needed

Frames – A Blessing & A Curse Can detract from message conveyance Can be distracting if not used correctly Can be used to organize information Can be used for consistency

Frame Basics No … Container Individual framesets can only be specified in rows or columns, but never both Nested framesets are okay to use (allows us to use both rows and columns in the same page)

Frame Syntax - Container that acts as a “blueprint” in which all frames are specified Can be specified only in rows or columns, but never both Can contain nested framesets Several attributes Syntax: …

Attribute: border Specifies the frame border thickness between frames Takes a value in pixels Syntax: Found In: Found In:

Attribute: bordercolor Specifies the border color Takes color names or hex values Support for this attribute is limited Syntax: Found In: Found In:

Attribute: cols Specifies how the frameset is to be built – using columns Establishes both number of columns and their sizes Sizes can be specified in relative or absolute measurements Syntax: Found In: Found In:

Attribute: rows Specifies how the frameset is to be built – using rows Establishes both number of rows and their sizes Sizes can be specified in relative or absolute measurements Syntax: Found In: Found In:

Attribute: frameborder Specifies whether or not a 3-D separator will be added between frames IE and Navigator differ in frameborder values: IE takes “1” for yes and “0” for no Navigator takes “yes” or “no” Syntax: Found In: Found In:

Frame Syntax - Independent tag that defines a single frame Helps define the content of a frame Found nested within … Several attributes Syntax:

Attributes: bordercolor & frameborder Same purpose as the same attributes found in … Same syntax: Found In: Found In:

Attribute: name Gives a frame a name Required for referencing that frame as a target in hypertext references Syntax: Found In: Found In:

Attribute: src Specifies the source of the HTML file initially loaded into a given frame Required Can take absolute or relative pathnames Syntax: Found In: Found In:

Attribute: src Specifies the source of the HTML file initially loaded into a given frame Required Can take absolute or relative pathnames Syntax: Found In: Found In:

Attribute: marginwidth Specifies the amount of space between the left and right edges of a frame and the frame contents Specified in pixels Syntax: Found In: Found In:

Attribute: marginheight Specifies the amount of space between the top and bottom edges of a frame and the frame contents Specified in pixels Syntax: Found In: Found In:

Attribute: noresize Specifies that the user will not be able to resize a frame Needs only to be specified once in an individual frameset Takes no values Syntax: Found In: Found In:

Attribute: scrolling Specifies whether or not a scrollbar appears in a frame Three possible values: yes no auto Syntax: Found In: Found In:

Attribute: longdesc Specifies a link to a document containing a text description of a frame Used for non-visual browsers Syntax: Found In: Found In:

Frame Syntax - Container that defines content for browsers that do no read frames Found after tag No attributes Syntax: Your browser does not support frames. Upgrade or die a slow, painful death!

Nesting Framesets

Targeting Frames Target frames using the standard anchor tag - Target is defined in content pages only, not in … Uses the target attribute target attribute identifies the frame’s name

Targeting Frames Syntax: Open page in main frame!

Targeting Frames Reserved target values: _blank _self _parent _top Syntax: Open page in a new window!

Using the tag Allows you to specify a “default” target for all links in a document Saves a lot of typing Found in the … Syntax:

Questions?