html comprehensive concepts and techniques third edition 2 nd project creating and editing a web...

44
HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

Upload: everett-park

Post on 04-Jan-2016

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

HTMLComprehensive Concepts and Techniques

Third Edition

2nd Project

Creating and Editing

a

Web Page

Page 2: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

2HTML Project 1: Introduction to HTML

Project Objectives

• Identify elements of a Web page

• Start Notepad and describe the Notepad window

• Enable word wrap in Notepad

• Enter the HTML tags

• Enter headings and a paragraph of text

Page 3: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

3HTML Project 1: Introduction to HTML

Project Objectives

• Create an unordered, ordered, or definition list

• Save an HTML file

• Use a browser to view a Web page

• Activate Notepad

• Identify Web page image types and attributes

Page 4: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

4HTML Project 1: Introduction to HTML

Project Objectives

• Add an image, change the background color of a Web page, center a heading, and add a horizontal rule

• View the HTML source code in a browser

• Print a Web page and an HTML file

• Quit Notepad and a browser

Page 5: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

5HTML Project 1: Introduction to HTML

Starting Notepad

• Click the Start button on the Windows Taskbar

• Click All Programs on the Start menu

• Point to Accessories on the All Programs submenu and then point to Notepad on the Accessories submenu

• Click Notepad

Page 6: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

6HTML Project 1: Introduction to HTML

Starting Notepad

Page 7: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

7HTML Project 1: Introduction to HTML

Enabling Word Wrap in Notepad

• Click Format on the menu bar

• If the Word Wrap command does not have a check mark next to it, click Word Wrap

Page 8: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

8HTML Project 1: Introduction to HTML

Enabling Word Wrap in Notepad

Page 9: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

9HTML Project 1: Introduction to HTML

HTML Tags and Their Functions

Page 10: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

10HTML Project 1: Introduction to HTML

Entering HTML Tags to Define the Web Page Structure• Type <!DOCTYPE html and then press the ENTER key• Press the SPACEBAR three times, type PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" as the entry, and then press the ENTER key

• Press the SPACEBAR three times, type "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> as the entry, and then press the ENTER key twice

• Type <html> and then press the ENTER key• Type <head> and then press the ENTER key

Page 11: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

11HTML Project 1: Introduction to HTML

Entering HTML Tags to Define the Web Page Structure• Type <title>Campus Tutoring Service Home Page</title> and then press the ENTER key

• Type </head> and then press the ENTER key• Type <body> and then press the ENTER key twice• Type </body> and then press the ENTER key• Type </html> as the end tag

Page 12: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

12HTML Project 1: Introduction to HTML

Entering HTML Tags to Define the Web Page Structure

Page 13: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

13HTML Project 1: Introduction to HTML

Entering a Heading

• Click the blank line below the <body> tag, type <h1>We'll be open soon!</h1> in the text area, and then press the ENTER key twice

Page 14: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

14HTML Project 1: Introduction to HTML

Entering a Heading

Page 15: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

15HTML Project 1: Introduction to HTML

Entering a Paragraph of Text

• With the insertion point on line 12, press the ENTER key and then type <p>The Campus Tutoring Service will be open for business soon! Dr. Isabel Myers, Dean of Student Services, announced Monday that the university has several new services to help students succeed. Part of that effort includes the newest addition to Student Services, the Campus Tutoring Service. The university wants to make sure that all students can be successful, especially in their first year on campus. We have student tutors available for several freshman-level classes.</p> and then press the ENTER key

Page 16: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

16HTML Project 1: Introduction to HTML

Entering a Paragraph of Text

• With the insertion point on line 19, type <p>Call 1-219-555-2510 for an appointment, or visit us in the Anderson building, room 360.</p> and then press the ENTER key twice

Page 17: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

17HTML Project 1: Introduction to HTML

Entering a Paragraph of Text

Page 18: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

18HTML Project 1: Introduction to HTML

Creating an Unordered List

• With the insertion point on line 20, press the ENTER key, type <h2>Our services include tutors for the following courses:</h2> as the entry, and then press the ENTER key

• Type <ul> as the start tag and then press the ENTER key

• Type <li>Math 141</li> and then press the ENTER key

Page 19: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

19HTML Project 1: Introduction to HTML

Creating an Unordered List

• Type <li>Accounting 200</li> and then press the ENTER key

• Type <li>Economics 251</li> and then press the ENTER key

• Type </ul> as the end tag and then press the ENTER key

Page 20: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

20HTML Project 1: Introduction to HTML

Creating an Unordered List

Page 21: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

21HTML Project 1: Introduction to HTML

Saving an HTML File

• With a floppy disk in drive A, click File on the menu bar

• Click Save As on the File menu

• Type project2.htm in the File name text box

• Click the Save in box arrow

Page 22: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

22HTML Project 1: Introduction to HTML

Saving an HTML File

• Click 3½ Floppy (A:) in the Save in list

• Click the Project02 folder and then double-click the ProjectFiles folder in the list of available folders

• Click the Save button in the Save As dialog box

Page 23: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

23HTML Project 1: Introduction to HTML

Saving an HTML File

Page 24: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

24HTML Project 1: Introduction to HTML

Starting a Browser

• Click the Start button on the Windows taskbar and then point to All Programs on the Start menu

• Click Internet Explorer (or another browser command) on the All Programs submenu. If necessary, click the Maximize button to maximize the browser window

Page 25: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

25HTML Project 1: Introduction to HTML

Starting a Browser

Page 26: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

26HTML Project 1: Introduction to HTML

Viewing a Web Page in a Browser

• When the browser window appears, click the Address bar

• Type a:\Project02\ProjectFiles\project2.htm in the Address box

• Press the ENTER key

Page 27: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

27HTML Project 1: Introduction to HTML

Viewing a Web Page in a Browser

Page 28: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

28HTML Project 1: Introduction to HTML

Activating Notepad

• Click the Notepad button on the taskbar

Page 29: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

29HTML Project 1: Introduction to HTML

Adding an Image

• Click after the > symbol on line 10 and then press the ENTER key

• Type <img src="cts_clip8.gif“ width="484“ height="62“ alt="Student Services logo" /> as the tag

Page 30: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

30HTML Project 1: Introduction to HTML

Adding an Image

Page 31: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

31HTML Project 1: Introduction to HTML

Adding a Background Color

• Click after the y in <body> on line 10 and then press the SPACEBAR

• Type bgcolor=“#fffbc6” as the color code

Page 32: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

32HTML Project 1: Introduction to HTML

Adding a Background Color

Page 33: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

33HTML Project 1: Introduction to HTML

Centering a Heading

• Click line 12 just after the 1 in the <h1> tag and then press the SPACEBAR

• Type align=“center” as the attribute

Page 34: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

34HTML Project 1: Introduction to HTML

Centering a Heading

Page 35: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

35HTML Project 1: Introduction to HTML

Adding a Horizontal Rule

• Click line 11 just after the > symbol in the <img> tag and then press the ENTER key

• Type <hr /> as the HTML tag

• Click File on the menu bar and then click Save

Page 36: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

36HTML Project 1: Introduction to HTML

Adding a Horizontal Rule

Page 37: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

37HTML Project 1: Introduction to HTML

Refreshing the View in a Browser

• Click the Campus Tutoring Service Home Page button on the taskbar

• Click the Refresh button on the Standard toolbar

Page 38: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

38HTML Project 1: Introduction to HTML

Refreshing the View in a Browser

Page 39: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

39HTML Project 1: Introduction to HTML

Viewing HTML Source Code for a Web Page

• Click View on the menu bar

• Click Source on the View menu

• Click the Close button on the Notepad title bar

Page 40: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

40HTML Project 1: Introduction to HTML

Viewing HTML Source Code for a Web Page

Page 41: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

41HTML Project 1: Introduction to HTML

Printing a Web Page and an HTML File

• Ready the printer according to the printer instructions

• With the project2.htm Web page open in the browser window, click File on the menu bar and then click Print on the File menu

• Click the OK button in the Print dialog box

Page 42: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

42HTML Project 1: Introduction to HTML

Printing a Web Page and an HTML File

• With the printer stops printing the Web page, retrieve the printout

• Click the Notepad button on the taskbar to activate the Notepad window

• Click File on the menu bar and then click Print on the File menu

Page 43: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

43HTML Project 1: Introduction to HTML

Printing a Web Page and an HTML File

Page 44: HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page

44HTML Project 1: Introduction to HTML

Quitting Notepad and a Browser

• Click the Close button on the Notepad title bar

• Click the Close button on the Campus Tutoring Service Home Page title bar