Using Frames in a Web Site

Slides:



Advertisements
Similar presentations
Project 8 Creating Style Sheets.
Advertisements

HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
Creating and Editing a Web Page Using Inline Styles
Using Advanced Cascading Style Sheets
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Web Feature Creating Static and Dynamic Web Pages Using Excel.
Creating and Editing a Web Page
Creating a Form on a Web Page
Creating a Form with Selection Menus The SELECT control creates a selection menu This control only allows the visitor to choose pre-defined choices There.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 7 Creating an Online Form.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Web Feature Creating a Presentation on the Web Using PowerPoint.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Web Feature Creating Web Pages Using Word.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Using Frames in a Web Site
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 Concepts and Techniques Fourth Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
HTML Comprehensive Concepts and Techniques Third Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
Adding an Inline Style Sheet Page without Inline Style Sheet Page with Inline Style Sheet.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
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.
Web Technologies Website Development Trade & Industrial Education
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Website Development with Dreamweaver
Creating and Editing a Web Page using HTML IMED1316.
Creating and Editing a Web Page Project 2. Project Objectives Project 2: Creating and Editing a Web Page 2 Identify elements of a Web page Start Notepad.
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
HTML, XHTML, and CSS Chapter 8 Adding Multimedia Content to Web Pages.
Writing a JavaScript User-Defined Function  A function is JavaScript code written to perform certain tasks repeatedly  Built-in functions.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
HTML Concepts and Techniques Fourth Edition Project 12 Creating and Using XML Documents.
Creating a Form on a Web Page
1 Creating a Second Web Page This section shows you how to create the Huntington Beach Web site.
1 Planning and Laying Out Frames Sketch the frame structure on paper before writing the HTML code two rows two columns.
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.
HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page.
HTML Concepts and Techniques Fourth Edition Project 5 Creating an Image Map.
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.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating and Editing a Web Page
Creating and Editing a Web Page Using Inline Styles
1 Your Web Page title body of Web page main heading H2 heading bulleted list paragraph.
Creating Web Pages with Links, Images, and Embedded Style Sheets
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Creating Frames on a Web Page
Integrating Office 2003 Applications and the World Wide Web
PowerPoint Web Feature
Project 8 Creating Style Sheets.
Project 9 Creating Pop-up Windows, Adding Scrolling Messages, and Validating Forms.
Creating Tables in a Web Site Using an External Style Sheet
Creating and Using a Database
Microsoft Word 2003 Illustrated Complete
Unit I: Collecting Data with Forms
Creating Web Pages with Links, Images, and Formatted Text
Integrating JavaScript and HTML
Creating Tables in a Web Site
Project 5 Creating an Image Map.
Forms.
Creating Forms on a Web Page
Project 4 Creating an Image Map.
Creating Frames on a Web Page
Creating and Editing a Web Page
DREAMWEAVER 8 Creating a Dreamweaver Web Page and Local Site.
Presentation transcript:

Using Frames in a Web Site Project 6 Using Frames in a Web Site

Project Objectives Define terms related to frames Describe the steps used to design a frame structure Plan and lay out a frameset Create a frame definition file that defines three frames Use the <frameset> tag

Project Objectives Use the <frame> tag Change frame scrolling options Name a frame content target Identify Web pages to display at startup Set frame rows

Project Objectives Set frame columns Create a header page with text Create a navigation menu page with text links Create a home page

Creating a Frame Definition File A frame definition file defines the layout of the frames in a Web site and specifies the Web page contents of each frame A frameset is used to define the layout of the frames that are displayed

Creating a Frame Definition File

Frame Tag Attributes

Starting Notepad and Entering Initial HTML Tags

Defining Columns and Rows in the Frameset If necessary, click line 10 and then press the ENTER key twice Type <frameset cols=“25%,75%”> and then press the ENTER key Type <frameset rows=“18%,82%”> and then press the ENTER key

Defining Columns and Rows in the Frameset

Identifying Attributes of the Header and Menu Frames If necessary, click line 13 Type <frame src="header.htm“ scrolling="no“ frameborder="no"> and then press the ENTER key Type <frame src="menu.htm“ scrolling="no“ frameborder="no"> and then press the ENTER key twice

Identifying Attributes of the Header and Menu Frames

Identifying Attributes of the Main Frame If necessary, click line 16 Type <frame src="home.htm“ name="win-main“ frameborder="no"> and then press the ENTER key

Identifying Attributes of the Main Frame

Ending the Framesets If necessary, click line 17 Type </frameset> as the tag Click line 15 to position the insertion point Type </frameset> and then press the ENTER key

Ending the Framesets

Saving the HTML File With a floppy disk in drive A, click File on the menu bar and then click Save As. Type framedef.htm in the File name text box If necessary, click 3 1⁄2 Floppy (A:) in the Save in list. Click the Project06 folder and then click the ProjectFiles folder in the list of available folders. Click the Save button in the Save As dialog box

Saving the HTML File

Creating the Header Page Click File on the menu bar and then click New on the File menu Enter the HTML code as shown in Table 6-4 on page HTM 269 Position the insertion point on the second blank line (after the <body> tag) on line 11 Type <font face="broadway“ color="navy" size="+2">BILL THOMAS on line 11 and then press the ENTER key

Creating the Header Page Type <br />ILLUSTRATIONS </font> as the tag With a floppy disk in drive A, click File on the menu bar and then click Save As. Type header.htm in the File name text box If necessary, click 3 1⁄2 Floppy (A:) in the Save in list. Click the Project06 folder and then click the ProjectFiles folder in the list of available folders. Click the Save button in the Save As dialog box

Creating the Header Page

Starting a New Document and Entering Initial HTML Tags

Adding Links with Targets to the Menu Page and Saving the HTML File Enter the following HTML beginning on line 11

Adding Links with Targets to the Menu Page and Saving the HTML File With a floppy disk in drive A, click File on the menu bar and then click Save As. Type menu.htm in the File name text box If necessary, click 3 1⁄2 Floppy (A:) in the Save in list. Click the Project06 folder and then click the ProjectFiles folder in the list of available folders. Click the Save button in the Save As dialog box

Creating the Home Page Click File on the menu bar and then click New on the File menu Enter the HTML code as shown in Table 6-7 on page HTM 273 Position the insertion point on the second blank line (line 11)

Creating the Home Page Type <img src="thomaswaterfall.jpg"> as the tag With a floppy disk in drive A, click File on the menu bar and then click Save As. Type home.htm in the File name text box If necessary, click 3 1⁄2 Floppy (A:) in the Save in list. Click the Project06 folder and then click the ProjectFiles folder in the list of available folders. Click the Save button in the Save As dialog box

Creating the Home Page

Viewing and Printing the Frame Definition File Using a Browser Start your browser Type a:\Project06\ProjectFiles\ framedef.htm in the Address box and then press the ENTER key Click File on the menu bar and then click Print on the File menu Click the Options tab in the Print dialog box Click As laid out on screen to select it and then click the Print button

Viewing and Printing the Frame Definition File Using a Browser

Testing the Links Click the Cross Hatch link on the navigation menu Click the Full Color link on the navigation menu Click the Ink Wash link on the navigation menu

Testing the Links Click the Order Form link on the navigation menu Click the Home link on the navigation menu Click the e-mail link and verify that the New Message window shows billthomas@isp.com as the address. Click the Close button to close the New Message window and quit the e-mail program

Printing All HTML Files Click the Notepad button on the taskbar Click File on the menu bar and then click Print. Click Print in the Print dialog box to print the home.htm file Using Notepad, open the file, framedef.htm, from the Project06\ProjectFiles folder on the HTML Data Disk Click File on the menu bar and then click Print. Click Print in the Print dialog box to print the file, framedef.htm Repeat the third and fourth steps to open and print the header.htm and menu.htm files

Quitting Notepad and a Browser Click the Close button on the browser title bar Click the Close button on the Notepad window title bar

Project Summary Define terms related to frames Describe the steps used to design a frame structure Plan and lay out a frameset Create a frame definition file that defines three frames Use the <frameset> tag

Project Summary Use the <frame> tag Change frame scrolling options Name a frame content target Identify Web pages to display at startup Set frame rows

Project Summary Set frame columns Create a header page with text Create a navigation menu page with text links Create a home page

Project 6 Complete