HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Creating Tables in a Web Site
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
CIS101 Introduction to Computing Week 07. Agenda Your questions JavaScript text Resume project HTML Project Three This week online Next class.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
CIS101 Introduction to Computing HTML Project Two.
The Power of Tables They aren't just for sitting stuff on anymore...
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Chapter 6 Working with Frames.
Lesson 4 HTML Structural Design Techniques
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.
Using Frames in a Web Site
Lecture on: Frames. FRAMES VERSUS TABLES Frames allow part of the page, usually a navigation bar, to stay put.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
Creating Tables in a Web Site.  Define table elements  Describe the steps used to plan, design, and code a table  Create a borderless table to organize.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
HTML Comprehensive Concepts and Techniques Third Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
HTML, Third Edition--Illustrated1 HTML – Illustrated Introductory, Third Edition Unit H Controlling Page Layout with Frames and Tables.
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.
Web Technologies Website Development Trade & Industrial Education
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.
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
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.
Creating Tables in a Web Site
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
1 Creating a Second Web Page This section shows you how to create the Huntington Beach Web site.
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.
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.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 6.
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.
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.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
1 Creating the Header Page The header frame always displays on the AHS Web site The image (screagle.gif) that will go in the header is contained on the.
Using Frames in a Web Site Project 6. Project Objectives Project 6: Using Frames in a Web Site 2 Define terms related to frames Describe the steps used.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 Creating the Home Page. 2 Creating a Table Table attributes  Two rows and two columns  No border  Left-aligned Change the vertical alignment of the.
Creating and Editing a Web Page
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Web Site Development - Process of planning and creating a website.
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.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
1 Your Web Page title body of Web page main heading H2 heading bulleted list paragraph.
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)
Lesson 9. Test 1 How was the test ? Assignment 1 (must complete satisfactorily even if you do not get any marks for it !!!!!!)
Creating Frames on a Web Page
Introduction to HTML.
Using Frames in a Web Site
Project 4 Creating an Image Map.
Creating Frames on a Web Page
Presentation transcript:

HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page

2 Today’s Agenda  Introduce Frame tags.  Worksheet – Another frame!

3 Introduction  Frames divide a Web page into more than one window  A frame is a rectangular area (window) in which text or graphics can appear  A frame definition file contains the layout of the frames on the Web page  You will need a separate HTML file for each frame on your Web page

4 Creating Web Pages with Frames  Frames can be used: –To allow a Web site visitor to view more than one page at a time –For navigation –To display information that must stay on the screen as other parts of the page change

5 Creating Web Pages with Frames frames frame

6 Using Frames  To use frames, create a frame definition file using these three tags:

7 Using Frames two rows created two columns created header.htm in frame 1, scrolling off menu.htm in frame 2 home.htm in frame 3 target name frameset ending tags

8 Using Frames  The frame definition file also contains additional information:

9 This code produces… Sample of Two Horizontal Frames

10 … this frames page border row

11 This code produces… Sample of Two Vertical Frames

12 … this frames page columns

13 This code produces… Andrews High School Class of ’90

14 … this frames page no border

15 Planning and Laying Out Frames  Sketch the frame structure on paper before writing the HTML code two rows two columns

16 Start Notepad

17 Enter Initial HTML Tags

18 Setting Frame Rows  Use the ROWS attribute in the tag to set the number and sizes of rows sizes of rows as a percentage of the screen

19 Setting Frame Rows  Additional rows may be added by simply specifying the height in percentage of screen height or number of pixels  Asterisks may be used instead of numbers to evenly divide the remaining space available

20 Setting Frame Rows first row is 30% high second row is 70% high Enter the FRAMESET tag on line 6 of your document

21 Identifying the Header Content  The frame in the first row will display the header Web page  A tag must define each frame in the frame definition file  Use the SRC attribute to identify the Web page that will display in the frame  You will turn off scrolling because the header can display without having to scroll

22 Identifying the Header Content Enter the FRAME tag on line 7 of your document Web page that displays in first frame scrolling turned off for first frame

23 Setting Frame Columns  Columns divide the screen vertically  The COLS attribute works like the ROWS attribute  If you need more than two columns, you must include the dimensions for the columns in the tag

24 Setting Frame Columns Enter the FRAMESET tag on line 9 of your document first column is 25% wide second column is 75% wide

25 Identifying the Column Content  The first column will display the navigation page that will remain constant  Do not turn off scrolling, in case further links are added in the future –The default scrolling setting is AUTO –The scroll bar will automatically be available for the frame, if needed

26 Identifying the Column Content  The second column will display variable information  Use the NAME attribute to give that frame a target name –Links can use this target to direct the display of subsequent Web pages to that frame

27 Identifying the Column Content Web page menu.htm displays in a second frame Web page home.htm displays in a third frame Name of third frame; other Web pages can use as a target Enter the FRAME tags on lines 10 and 11 of your document

28 Ending the Framesets  You must enter a tag for each tag begin frameset 1 begin frameset 2 end frameset 1 end frameset 2 Enter the /FRAMESET tags on lines 13 and 14 of your document

29 Saving the HTML File  Save the HTML file on your flash drive or desktop with framedef.htm as the file name file name

30 Creating the Header Page  The header frame always displays on the AHS Web site  The image (screagle.jpg) that will go in the header is contained on the HTML Data Disk

31 Entering Initial HTML Tags  Select New from the File menu  Enter the initial HTML tags, as usual, and type AHS Header Frame as the title  Make the background color navy:  Press ENTER twice  Click the blank line (line 6)

32 Entering Initial HTML Tags background color

33 Adding an Image and a Heading  Create a one-row borderless table that contains the image and heading text  Enter this HTML code starting on line 7

34 Saving the HTML File  Save the HTML file on your flash drive or desktop with header.htm as the file name file name

35 Entering Initial HTML Tags  Select New from the File menu  Enter the initial HTML tags, as usual, and type AHS Menu Frame as the title  Set the colors of the background, body text, and the links by entering the following tag:

36 Entering Initial HTML Tags  Press the ENTER key twice  Click the blank line (line 7)

37 Adding Hypertext References and Targets  Enter this HTML code starting on line 7 to create the navigational links:

38 Adding Hypertext References and Targets The target attribute tells the browser in which frame to open the link

39 Saving the HTML File  Save the HTML file on flash drive or desktop with menu.htm as the file name file name

40 Creating the Home Page  Select New from the File menu  Enter the initial HTML tags, as usual, and type AHS Home Frame as the title  Set the color of links to red:  Press ENTER twice  Click the blank line (line 6)

41 Creating the Home Page  Enter this HTML code starting on line 7 to create the navigational links:

42 Saving the HTML File  Save the HTML file on flash drive or desktop with home.htm as the file name file name

43 Viewing the HTML Files Using your Browser  Start your browser  Type a:\framedef.html in the address box and then press the ENTER key  The three Web pages created in this project display on the Web site home page

44 Viewing the HTML Files Using your Browser frame 1 header.htm frame 2 menu.htm frame 3 home.htm