FRAMES.

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.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
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.
1 DePaul University SNL 262 Web Page Design Frames! - Chapt 20 Yet Another Way to Divide Up The Screen. Instructor: David A. Lash.
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.
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.
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.
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
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.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
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.
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.
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.
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.
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.
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.
1 HTML Frames
HTML Frames.
© Marty Hall, Larry Brown Web core programming 1 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
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.
Chapter 6 Frames and Image Maps Frame sets and frames Image Maps.
Introduction to HTML.
HTML Structure II (Frame)
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 Frames
Creating Frames on a Web Page
Presentation transcript:

FRAMES

INTRODUCTION FRAMES: the HTML tags that divide a browser screen into two or more HTML recognizing unique regions . Tag used is the <FRAMESET>..</FRAMESET> tags. Each unique region is called a frame. Each frame can be loaded with a different document and hence, allow multiple HTML documents to be seen concurrently.

FRAMESET tag: this tag is included after <HEAD> tag FRAMESET tag: this tag is included after <HEAD> tag . This is a paired tag. <FRAMESET COLS=“width1,width2, ” ROWS=“height1,height2”> ….. Frame or frameset definitions….. </FRAMESET> Cols: this attribute is used for vertical frames and widths are specified as a comma delimited list of sizes in pixels, %age, or as a proportion of the remaining space by using ‘*’. Rows: this attribute is used for horizontal frames and height again is specified in pixels ,%age or as a proportion of the remaining space by using ‘*’. Attributes: Border/ FrameBorder: value 0 will turn off the border and value 1 will turn it on. To increase the border width change the value of border. bordercolor: to set the frame border color to a specified color.

FRAME: this tag contains the frame content FRAME: this tag contains the frame content. It tells the browser, what to put in each frame. Each frameset must include a <FRAME> definition for each division. It is a singular tag. Attributes: Src: indicates the URL of the document to be loaded into the frame. MarginHeight: specifies the amount of white space to be left at the top and bottom of the frame. MarginWidth: specifies the amount of white space to be left along the sides of the frame. Name: gives the frame a unique name so it can be targeted by other documents. The name given must be given with an alphanumeric character. Noresize: disables the frame resizing capability. Scrolling: controls the appearance of horizontal and vertical scrollbars in a frame. This takes the value YES/NO/AUTO.

<html> <head><title> FRAMING TAGS</title></head> <frameset cols="50%,50%"> <frame src="form.html"> <frame src="1.html"> </frameset> </html>

<html> <head><title> FRAMING TAGS</title></head> <frameset cols="40%,30%,30%"> <frame src="form.html"> <frame src="1.html"> <frame src="table.html"> </frameset> </html>

<html> <head><title> FRAMING TAGS</title></head> <frameset rows="40%,30%,30%"> <frame src="form.html"> <frame src="1.html"> <frame src="table.html"> </frameset> </html>

Elastic Frames The height/ width of frames can be specified in terms of number of pixels. In elastic frames we use the notation * instead of a number. The ‘*’ means whatever is left over. <html> <head><title> FRAMING TAGS</title></head> <frameset rows="200,*,*"> <frame src="form.html"> <frame src="1.html"> <frame src="table.html"> </frameset> </html>

NESTED FRAME SETS Combinations of rows and columns <html> <head><title> FRAMING TAGS</title></head> <frameset rows="200,*,*"> <frame src="form.html"> <frameset cols="*,*"> <frame src="1.html"> <frame src="table.html"> </frameset> </html>

BORDER If value id set to 0 then frame will be without border. If value is some positive number then the border size will increase as per the value. <html> <head><title> FRAMING TAGS</title></head> <frameset border=0 rows="200,*,*"> <frame src="form.html"> <frameset cols="*,*"> <frame src="1.html"> <frame src="table.html"> </frameset> </html>

BORDER COLOR= purple

Frame margins : Frame tag Margin is the space between frame edge and the frame content. By default browser automatically gives each frame some empty space around its contents. It accept the value in pixels as the amount of space to be left as margins. <html> <head><title> FRAMING TAGS</title></head> <frameset border=10 bordercolor="purple" rows="200,*,*"> <frame src="form.html" marginwidth=0> <frame src="1.html" marginwidth=50> <frame src="table.html" marginwidth=100> </frameset> </html>