Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
Compiled by ackoo Creating Frames. Compiled by ackoo Recall this… Table cell 1 Table cell 2 Table cell 3 Table cell 4.
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
Frames An overview. Why frames Frames allow you to show several documents in one page. Useful for navigation. Useful for attaching pages from other sites.
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.
CS105 Introduction to Computer Concepts HTML
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
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.
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.
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.
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.
1 HTML Frames
HTML Frames.
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
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.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
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)
Introduction to HTML.
Client-Side Internet and Web Programming
HTML Structure II (Frame)
FRAMES.
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
Presentation transcript:

Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter 2 Markup Language HTML (Part 2) Information Systems Department

IS Department Frames FRAME template Defining rows and cols in a FRAMESET Common FRAME and FRAMESET attributes Nested frames Targeting a document to a named FRAME cell 2 Outlines

IS Department Definition and Purpose  Frames can be used to split a web page so you can load multiple HTML files or pages into one web page.  This will cause the web browser to display multiple pages at one time.  E.g. display an index of a document on the left side of the browser window  Not all browser support frames.  NOFRAMES element is used for this situations 3

IS Department Frame Template HTML 4.0 Frameset Document Title 4

IS Department FRAMESET Attributes  COLS  COLS : Splits the window horizontally into a number of columns specified by one of:  A number of columns  A percentage of the total window width. EX: COLS="10%".  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.  ROWS  ROWS : Splits the window vertically into a number of rows specified by one of:  A number of rows.  A percentage of the total window height. EX: ROWS="10%".  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.  A comma-separated list of pixel values, percentages, and weighted remainders  FRAMESET entries should always specify at least two rows or columns.  Examples 5 FRAMESET Attributes......

IS Department FRAMESET ROWS, Example 6... See Example 19

IS Department FRAMESET Attributes (Continued)  FRAMEBORDER  Indicates whether borders will be drawn between frame cells  YES or 1 specifies borders; NO or 0 specifies no border  Can be overridden by FRAMEBORDER settings in individual FRAME entries  Often used in conjunction with BORDER=0 and FRAMESPACING=0  BORDERFRAMESPACING  BORDER (Netscape), FRAMESPACING (IE)  Specify the thickness of the border between cells  Apply to outermost FRAMESET only  BORDERCOLOR  Sets the color of the border between cell, using either a hex RGB value or color name 7

IS Department FRAME Attributes  SRC  URL of the document to place in the frame cell  NAME  Defines the name of the frame. The name will be used in element (Anchor) as a reference to place various object in the frame  FRAMEBORDER, BORDERCOLOR  MARGINWIDTH, MARGINHEIGHT  Specifies the left/right and top/bottom cell margins, respectively  SCROLLING  Indicates whether cells should have scrollbars  NORESIZE  Disables the ability to resize the frame cells 8 FRAME: Specifying Content of Frame Cells

IS Department Frame Example 1 Frame Example 1 Your browser does not support frames. Please see non-frames version. 9

IS Department Frame Example 1, Result 10

IS Department Frame Example 2 Frame Example 2 Your browser does not support frames. Please see nonframes version. 11

IS Department Frame Example 2, Result 12

IS Department Targeting a Frame Cell  Specify the cell in which to place a page referenced by a hyperlink  The NAME Attribute of FRAME  The TARGET Attribute of A HREF TARGET 13

IS Department Predefined Frame Names  _blank  Load document into a new browser window  _top  Causes the linked document to take up the whole browser window  Document will not be contained in a frame cell  _parent  Places document in the immediate FRAMESET parent  Same as _top if no nested frames  _self  Place document in current cell  Only necessary to override a BASE entry 14

IS Department Summary Frameset DOCTYPE  Frames require a Frameset DOCTYPE for validation  A FRAMESET can be divided either into columns or rows  To create both rows and columns use nested FRAMESETs  By giving a FRAME a name, documents can be targeted to the named frame cell   There are four predefined frame names  _blank, _top, _parent, and _self 15