Presentation is loading. Please wait.

Presentation is loading. Please wait.

HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.

Similar presentations


Presentation on theme: "HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site."— Presentation transcript:

1 HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site

2 Project 6: Using Frames in a Web Site 2 Project Objectives Design and create a frame structure Change frame scrolling options Name a frame content target Identify Web pages to display at startup Set frame rows Create a header page with text Create a navigation menu page with text links Create a home page

3 Project 6: Using Frames in a Web Site 3 Creating a Frame Definition File Example: www.student.gsu.edu/~wkim5/project06/framedef.htm www.student.gsu.edu/~wkim5/project06/framedef.htm A frameset is used to define the layout of the frames that are displayed

4 Project 6: Using Frames in a Web Site 4 Creating a Frame Definition File

5 Project 6: Using Frames in a Web Site 5 Frame Tag Attributes

6 Project 6: Using Frames in a Web Site 6 Structure of frames home.htm header.htm Menu.htm framedef.htm

7 Project 6: Using Frames in a Web Site 7 Start framedef.htm file <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Frameset// EN "http://w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Bill Thomas Illustrations

8 Project 6: Using Frames in a Web Site 8 Start framedef.htm file Note that there is no

9 Project 6: Using Frames in a Web Site 9 Defining Columns and Rows in the Frameset <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Frameset// EN "http://w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Bill Thomas Illustrations

10 Project 6: Using Frames in a Web Site 10 Specifying Attributes of the Header and Menu Frames (rows)

11 Project 6: Using Frames in a Web Site 11 Specifying Attributes of the Header and Menu Frames (rows) What if frameborder = “yes”? What if scrolling = “yes”?

12 Project 6: Using Frames in a Web Site 12 Ending the frameset of the first column

13 Project 6: Using Frames in a Web Site 13 Specifying Attributes of the Main Frame

14 Project 6: Using Frames in a Web Site 14 Ending the Framesets

15 Project 6: Using Frames in a Web Site 15 Creating the Header Page-header.htm <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Bill Thomas Illustrations

16 Project 6: Using Frames in a Web Site 16 Creating the Menu Page-menu.htm <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Frameset// EN "http://w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Bill Thomas Illustrations

17 Project 6: Using Frames in a Web Site 17 Insert the body with options <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Frameset// EN "http://w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Bill Thomas Illustrations

18 Project 6: Using Frames in a Web Site 18 Add the tables Cross Hatch Full Color Ink Wash Order Form

19 Project 6: Using Frames in a Web Site 19 Add e-mail link E-mail questions and comments to billthomas@isp.com.

20 Project 6: Using Frames in a Web Site 20 Create the home.htm Insert an image (see the file)

21 Project 6: Using Frames in a Web Site 21 Viewing and Printing the Frame Definition File Using a Browser Start your browser 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

22 Project 6: Using Frames in a Web Site 22 Viewing and Printing the Frame Definition File Using a Browser

23 Project 6: Using Frames in a Web Site 23 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

24 HTML Concepts and Techniques Fourth Edition Project 6 Complete Using Frames in a Web Site


Download ppt "HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site."

Similar presentations


Ads by Google