Creating and Editing a Web Page Using Inline Styles

Slides:



Advertisements
Similar presentations
Creating and Editing a Web Page Using Inline Styles
Advertisements

Using Advanced Cascading Style Sheets
Chapter 5 Creating an Image Map
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Creating and Editing a Web Page
Creating a Form on a Web Page
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Using a Template to Create a Resume and Sharing a Finished Document
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Project 1 Using a Design Template and Text Slide Layout to Create a Presentation.
Creating and Editing a Web Page
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Project 1 Creating and Editing a Word Document.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Creating Tables in a Web Site Using an External Style Sheet
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.
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.
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.
Microsoft Word 2010 Chapter 1 Creating, Formatting, and Editing a Word Document with Pictures.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Microsoft Office 2007 Word Chapter 1 Creating and Editing a Word Document.
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
Dr. Chen, Management Information Systems - HTML Chapter 2: Creating and Editing a Web Page Using Inline Styles Jason C. H. Chen, Ph.D. Professor of MIS.
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.
Creating Web Pages with Links, Images, and Formatted Text
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.
Microsoft Windows 7 Part 1 Fundamentals of Using Windows 7.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Dr. Chen, Management Information Systems - HTML Chapter 2: Creating and Editing a Web Page Using Inline Styles Jason C. H. Chen, Ph.D. Professor of MIS.
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
Microsoft Visual Basic 2010 CHAPTER THREE Program Design and Coding.
Windows Internet Explorer 7 Chapter 1 Introduction to Windows Internet Explorer.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page.
Microsoft Publisher 2010 Chapter 1 Creating a Flyer.
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
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.
Adobe ® Photoshop ® CS6 Chapter 1 Editing a Photo.
Lesson1 WORD BCOMP0101 Introduction to Information Technology Noris Bt. Ismail Faculty of Information and Communication Technology Tel :
Project 1 Creating a Dreamweaver Web Page and Local Site.
Creating and Editing a Publication
PowerPoint Web Feature
Project 8 Creating Style Sheets.
Creating Tables in a Web Site Using an External Style Sheet
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.
Introduction to Internet Explorer
Creating and Editing a Web Page
DREAMWEAVER 8 Creating a Dreamweaver Web Page and Local Site.
Presentation transcript:

Creating and Editing a Web Page Using Inline Styles Chapter 2 Creating and Editing a Web Page Using Inline Styles

Chapter Objectives Identify elements of a Web page Start Notepad++ and describe the Notepad++ window Enable word wrap in Notepad++ Enter HTML tags Enter a centered heading and a paragraph of text Chapter 2: Creating and Editing a Web Page Using Inline Styles

Chapter 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 Chapter 2: Creating and Editing a Web Page Using Inline Styles

Chapter Objectives Add an image, change the color of headings on a Web page, change bulleted list style, and add a horizontal rule using inline styles View the HTML source code in a browser Print a Web page and an HTML file Quit Notepad++ and a browser Chapter 2: Creating and Editing a Web Page Using Inline Styles

Plan Ahead Complete Web page planning Analyze the need for the Web page Choose the content for the Web page Determine the file naming convention that you will use for this Web page Determine where to save the Web page Chapter 2: Creating and Editing a Web Page Using Inline Styles

Plan Ahead Determine what folder structure to use on your storage device Identify how to format various elements of the Web page Find appropriate graphical images Establish where to position and how to format the graphical images Test the Web page for XHTML compliance Chapter 2: Creating and Editing a Web Page Using Inline Styles

Starting Notepad++ Click the Start button on the Windows taskbar to display the Start menu Click All Programs at the bottom of the left pane on the Start menu to display the All Programs list Click the Notepad++ folder in the All Programs list Click Notepad++ in the list to display a blank Notepad++ window If the Notepad++ window is not maximized, click the Maximize button on the Notepad++ title bar to maximize it Chapter 2: Creating and Editing a Web Page Using Inline Styles

Starting Notepad++ Chapter 2: Creating and Editing a Web Page Using Inline Styles

Enabling Word Wrap in Notepad++ Click View on the menu bar If Word Wrap does not have a check mark next to it, click Word Wrap Complete this step before entering code in Notepad++ Chapter 2: Creating and Editing a Web Page Using Inline Styles

Enabling Word Wrap in Notepad++ Chapter 2: Creating and Editing a Web Page Using Inline Styles

Defining the Web Page Structure Using HTML Tags Enter the HTML code shown in Table 2–2 on page 43. Press ENTER at the end of each line. If you make an error as you are typing, use the BACKSPACE key to delete all the characters back to and including the incorrect characters, and then continue typing Press the ENTER key twice to start the next line of code, leaving one blank line after the </head> tag Compare what you typed to Figure 2–6. If you notice errors, use your mouse pointer or arrow keys to move the insertion point to the right of each error and use the BACKSPACE key to correct the error On line 11, type <body> and then press the ENTER key twice Type </body> and then press the ENTER key Type </html> as the end tag Compare what you typed to Figure 2–7 on page 44 and correct errors in your typing if necessary Table 2-2 and figure 2-6 is on page 43. Figure 2-7 is on page 44 Chapter 2: Creating and Editing a Web Page Using Inline Styles

Defining the Web Page Structure Using HTML Tags Chapter 2: Creating and Editing a Web Page Using Inline Styles

Entering a Heading With the insertion point on line 12, press the ENTER key once, leaving a blank line after the <body> tag Type <h1>Fight Against World Hunger</h1> in the text area, and then press the ENTER key twice Find more detailed instructions on page 47. Chapter 2: Creating and Editing a Web Page Using Inline Styles

Entering a Heading Chapter 2: Creating and Editing a Web Page Using Inline Styles

Entering a Paragraph of Text With the insertion point on line 15, enter the HTML code, as shown in Table 2–3 on page 47. Do not press ENTER at the end of each line when entering this text and use only one space after periods Press the ENTER key twice to position the insertion point on line 17 Chapter 2: Creating and Editing a Web Page Using Inline Styles

Entering a Paragraph of Text Chapter 2: Creating and Editing a Web Page Using Inline Styles

Creating an Unordered List With the insertion point on line 17, enter the HTML code, as shown in Table 2–4 on page 50. When you enter the text on lines 20, 21, and 22, make sure to press the TAB key at the start of the line, and then enter the text. Press ENTER at the end of each line Press the ENTER key after typing line 23, leaving a blank line on 24 Once you key TAB on line 20 then when you enter to line 21 it automatically tabs for you. Watch for that. Chapter 2: Creating and Editing a Web Page Using Inline Styles

Creating an Unordered List Chapter 2: Creating and Editing a Web Page Using Inline Styles

Saving an HTML File With a USB flash drive connected to one of the computer’s USB ports, click File on the Notepad++ menu bar Click Save As on the File menu to display the Save As dialog box Type hungerfight.html in the File name text box to change the file name. Do not press ENTER after typing the file name Click Computer in the left side of the dialog box to display a list of available drives Chapter 2: Creating and Editing a Web Page Using Inline Styles

Saving an HTML File If necessary, scroll until your USB flash drive, such as UDISK 2.0 (G:), appears in the list of available drives Double-click UDISK 2.0 (G:) (or your storage device) in the Computer list to select the USB flash drive, drive G in this case, as the new save location If necessary, open the Chapter02\ ChapterFiles folder Click the Save button in the Save As dialog box to save the file on the USB flash drive with the name hungerfight.html Chapter 2: Creating and Editing a Web Page Using Inline Styles

Saving an HTML File Chapter 2: Creating and Editing a Web Page Using Inline Styles

Starting a Browser Click the Google Chrome icon on the taskbar If necessary, click the Maximize button to maximize the browser window Chapter 2: Creating and Editing a Web Page Using Inline Styles

Starting a Browser Chapter 2: Creating and Editing a Web Page Using Inline Styles

Viewing a Web Page in a Browser Click the Address bar to select the URL on the Address bar Type g:\Chapter02\ChapterFiles\hungerfight.html to display the new URL on the Address bar. The Web page is not displayed until you press the ENTER key, as shown in the next step Press the ENTER key to display the hungerfight.html page as if it were available on the Web It will be whatever drive letter your flash drive is in. Chapter 2: Creating and Editing a Web Page Using Inline Styles

Viewing a Web Page in a Browser Chapter 2: Creating and Editing a Web Page Using Inline Styles

Activating Notepad++ Click the Notepad++ button on the taskbar to maximize Notepad++ and make it the active window Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding an Image Click the blank line 14 and then press the ENTER key With the insertion point on line 15, enter the HTML code, as shown in Table 2–9. Press ENTER at the end of each line Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding an Image Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding Color to Web Page Headings Click after the “1” but before the closing bracket in <h1> on line 13 and then press the spacebar Type style=“color: #3D60B1” as the color code for the Fight Against World Hunger heading Click after the “2” but before the closing bracket in <h2> on line 21 and then press the spacebar Type style=”color: #3D60B1” as the color code for the What you can do to help: heading Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding Color to Web Page Headings Chapter 2: Creating and Editing a Web Page Using Inline Styles

Changing the Bulleted List Style Click after the “l” but before the closing bracket in <ul> on line 23 and then press the spacebar Type style=”font-style: italic” as the code Chapter 2: Creating and Editing a Web Page Using Inline Styles

Changing the Bulleted List Style Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding a Horizontal Rule Click the blank line 20 and then press the ENTER key Type <hr /> as the HTML tag and then press the ENTER key Click File on the menu bar and then click Save Chapter 2: Creating and Editing a Web Page Using Inline Styles

Adding a Horizontal Rule Chapter 2: Creating and Editing a Web Page Using Inline Styles

Refreshing the View in a Browser Click the Internet Explorer button on the taskbar to display the home page Click the Refresh button on the Address bar to display the modified Web page Chapter 2: Creating and Editing a Web Page Using Inline Styles

Refreshing the View in a Browser Chapter 2: Creating and Editing a Web Page Using Inline Styles

Validating HTML Code Click the Address bar on the browser to highlight the current URL Type validator.w3.org to replace the current entry, and then press the ENTER key If necessary, click OK if the browser asks to open a new window Click the Validate by File Upload tab Chapter 2: Creating and Editing a Web Page Using Inline Styles

Validating HTML Code Click the Browse button Locate the hungerfight.html file on your storage device and then click the file name Click the Open button on the Choose File to Upload dialog box and the file path and name will be inserted into the File box Click the Check button. The resulting validation should be displayed Return to the Hunger Fight Web page, either by clicking the Back button on your browser or by clicking the Internet Explorer button in the taskbar Chapter 2: Creating and Editing a Web Page Using Inline Styles

Validating HTML Code Chapter 2: Creating and Editing a Web Page Using Inline Styles

Viewing HTML Source Code for a Web Page Click Page on the Command bar Click View Source to view the HTML code in the default text editor Click the Close button on the text editor title bar to close the active text editor window Chapter 2: Creating and Editing a Web Page Using Inline Styles

Viewing HTML Source Code for a Web Page Chapter 2: Creating and Editing a Web Page Using Inline Styles

Printing a Web Page and an HTML File Ready the printer according to the printer instructions With the Fight Against World Hunger Web page open in the browser window, click the Print icon on the Command bar When the Print dialog box appears, click the Print button When 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, click the Print command, and then click the Print button to print a hard copy of the HTML code Chapter 2: Creating and Editing a Web Page Using Inline Styles

Printing a Web Page and an HTML File Chapter 2: Creating and Editing a Web Page Using Inline Styles

Quitting Notepad++ and a Browser In Notepad++, click the File menu, then Close All Click the Close button on the Notepad++ title bar Click the Close button on the Hunger Fight Internet Explorer title bar Chapter 2: Creating and Editing a Web Page Using Inline Styles

Chapter Summary Identify elements of a Web page Start Notepad++ and describe the Notepad++ window Enable word wrap in Notepad++ Enter HTML tags Enter a centered heading and a paragraph of text Chapter 2: Creating and Editing a Web Page Using Inline Styles

Chapter Summary 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 Chapter 2: Creating and Editing a Web Page Using Inline Styles

Chapter Summary Add an image, change the color of headings on a Web page, change bulleted list style, and add a horizontal rule using inline styles View the HTML source code in a browser Print a Web page and an HTML file Quit Notepad++ and a browser Chapter 2: Creating and Editing a Web Page Using Inline Styles

Creating and Editing a Web Page Using Inline Styles Chapter 2 Complete Creating and Editing a Web Page Using Inline Styles