Chapter 5 Creating an Image Map

Slides:



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

Microsoft Office 2010 Office 2010 and Windows 7: Essential Concepts and Skills Mark Worden Instructor Use your spacebar or down arrow key to advance slides.
Using Advanced Cascading Style Sheets
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Creating and Editing a Web Page
Creating a Form on a Web Page
Chapter 5 Creating an Image Map.
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
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.
Microsoft Excel 2010 Chapter 7
Office 2003 Introductory Concepts and Techniques, 2 nd Edition M i c r o s o f t Windows XP Project Introduction to Microsoft Windows XP and Office 2003.
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.
Microsoft Office 2010 Office 2010 and Windows 7: Essential Concepts and Skills.
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, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Getting Started with Application Software
Office 2013 and Windows 8: Essential Concepts and Skills
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit F Creating Links and Navigation Bars.
Microsoft Windows 7 Essential Introduction to Windows 7.
Microsoft Office 2007 PowerPoint Web Feature Creating Web Pages Using PowerPoint.
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.
Chapter 5 Creating an Image Map.
Microsoft Windows Vista Chapter 1 Fundamentals of Using Microsoft Windows Vista.
Office 2013 and Windows 8: Essential Concepts and Skills Microsoft Access 2013.
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.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
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
Windows Internet Explorer 7 Chapter 1 Introduction to Windows Internet Explorer.
1 Creating a Second Web Page This section shows you how to create the Huntington Beach Web site.
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.
MODULE 2 Microsoft® Windows 7 Chapter 1: Navigating around Windows Chapter 2: Managing Files and Folders Chapter 3: Working with Windows Settings, Gadgets,
Microsoft Publisher 2010 Chapter 1 Creating a Flyer.
HTML Concepts and Techniques Fourth Edition Project 5 Creating an Image Map.
Layers, Image Maps, and Navigation Bars
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.
Microsoft Office 2010 is the newest version of Microsoft Office, offering features that provide users with better functionality and easier ways to work.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
1 Mapping Coordinates Find the x- and y- coordinates for the images, relative to the x-axis and y-axis In a coordinate pair, the first number is the x-coordinate.
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
Creating and Editing a Web Page Using Inline Styles
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.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
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.
Project 4 Creating an Image Map.
Introduction to Internet Explorer
Presentation transcript:

Chapter 5 Creating an Image Map HTML5 & CSS 7th Edition Chapter 5 Creating an Image Map

Chapter Objectives Define terms relating to image mapping List the differences between server-side and client-side image maps Name the two components of an image map and describe the steps to implement an image map Distinguish between appropriate and inappropriate images for mapping Sketch hotspots on an image Chapter 5: Creating an Image Map

Chapter Objectives Describe how the x- and y-coordinates relate to vertical and horizontal alignment Open an image in Paint and use Paint to locate the image map coordinates Create a home page Create a navigation bar of text links Insert an image onto a Web page that is used as an image map and use the usemap attribute to define an image map Chapter 5: Creating an Image Map

Chapter Objectives Insert special characters into a Web page Use the <map> </map> tags to start and end a map Use the <area> tag to indicate the shape, coordinates, and URL for a mapped area Create an external style sheet for styles used across the Web site Chapter 5: Creating an Image Map

Plan Ahead Plan the Web site Analyze the need Choose the image Determine what areas of the image map to use as links Establish what other links are necessary Create the Web page, image map, and links Test all Web pages within the Web site Chapter 5: Creating an Image Map

Starting Paint Click the Start button on the taskbar Click All Programs on the Start menu, click Accessories on the All Programs submenu, and then point to Paint on the Accessories submenu Click Paint If necessary, click the Maximize button on the right side of the title bar to maximize the window Chapter 5: Creating an Image Map

Starting Paint Chapter 5: Creating an Image Map

Opening an Image File in Paint With a USB drive plugged into your computer, click the Paint button and then click Open Navigate to the location of the image you wish to open Click the image, and then click the Open button in the Open dialog box to display the image that will be used for image mapping Chapter 5: Creating an Image Map

Opening an Image File in Paint Chapter 5: Creating an Image Map

Locating X- and Y-Coordinates of an Image If necessary, click the Pencil button in the Tools group Move the mouse pointer to the top-left corner of the word Home in the image and note the x- and y-coordinates for that point, as indicated in the status bar. Move the mouse until the coordinates read (195,63)(Do not click the mouse button.) Move the mouse pointer to the bottom-right corner of the word Home. The coordinates should read (247,82) (your coordinates may differ slightly), as indicated on the status bar. (Do not click the mouse button.) The four coordinates to be used for this rectangular hotspot are 195,63,247,82 Move the mouse pointer to the top-left and bottom-right corners of the four other words that are used as hotspots for navigation (Skiing, Boating, and Dining) in the image. Locate the corresponding x- and y-coordinates After you have finished, click the Close button on the right side of the title bar. If prompted, do not save any changes to the file Chapter 5: Creating an Image Map

Locating X- and Y-Coordinates of an Image Chapter 5: Creating an Image Map

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 the Notepad++ icon in the list to display the Notepad++ window. Maximize the Notepad++ window if necessary Click View on the menu bar. If the word wrap command does not have a check mark next to it, click word wrap Chapter 5: Creating an Image Map

Entering Initial HTML Tags to Define the Web Page Structure Chapter 5: Creating an Image Map

Saving an HTML File Click File on the menu bar, click Save, and then type tahanna.html in the File name text box (do not press ENTER) Navigate to the storage device and folder (Chapter05\ChapterFiles) where you save your Data Files and then click the Save button in the Save As dialog box to save the file Chapter 5: Creating an Image Map

Inserting an Image to Use as an Image Map If necessary, click line 14 Type <div style=”text-align: center”> and then press the ENTER key Press the TAB key once and type <img src=”tahanna.jpg” width=”774” height=”434” alt=”Lake Tahanna” usemap= ”#menubar” /> and then press the ENTER key Press SHIFT+TAB to move back to the left margin, type </div>, and then press the ENTER key twice Chapter 5: Creating an Image Map

Inserting an Image to Use as an Image Map Chapter 5: Creating an Image Map

Adding a Paragraph of Text Chapter 5: Creating an Image Map

Inserting a Special Character Position the insertion point to the right of the > in the second </span> tag on line 18 and type ® and then press the SPACEBAR Chapter 5: Creating an Image Map

Creating a Horizontal Menu Bar with Text Links Chapter 5: Creating an Image Map

Creating an Image Map Chapter 5: Creating an Image Map

Saving the HTML File Click the Save icon on the Notepad++ tool bar to save the most recent version of tahanna.html on the same storage device and in the same folder as the last time you saved it Chapter 5: Creating an Image Map

Validating a Web Page Open Internet Explorer, navigate to the Web site validator.w3.org, and then click the Validate by File Upload tab Click the Browse button Locate the tahanna.html file on your storage device, click the filename, and then click the Open button in the Choose File to Upload dialog box Click the Check button to validate the file Chapter 5: Creating an Image Map

Viewing a Web Page In Internet Explorer, click the Address bar to select the URL on the Address bar Type G:\Chapter05\ChapterFiles\tahanna.html on the Address bar of your browser and press enter to display the Web page Chapter 5: Creating an Image Map

Viewing a Web Page Chapter 5: Creating an Image Map

Testing Links on a Web Page With the USB flash drive in drive G, click the Skiing link from the home page just created. Click back to the Home page from there, using either the image map or the text link. Next, click the other links to test the additional Web pages provided in the Data Files for Students (boating.html and dining.html). Test the links back to the Home page from those Web pages Chapter 5: Creating an Image Map

Printing an HTML File Click the Notepad++ button on the taskbar to activate the Notepad++ window Click the Print Now button on the toolbar to print a hard copy of the HTML code Chapter 5: Creating an Image Map

Printing an HTML File Chapter 5: Creating an Image Map

Creating an External Style Sheet Chapter 5: Creating an Image Map

Saving and Printing the CSS File With a USB drive plugged into your computer, click File on the menu bar and then click Save As. Type stylesch5.css in the File name text box Navigate to the location to save the file. Click the Save button in the Save As dialog box. Click File on the menu bar and then click Print Now toolbar Chapter 5: Creating an Image Map

Saving and Printing the CSS File Chapter 5: Creating an Image Map

Viewing the Web Page Click the Internet Explorer button on the taskbar Click the Skiing area on the navigation bar image map to display the Skiing Web page Chapter 5: Creating an Image Map

Viewing the Web Page Chapter 5: Creating an Image Map

Testing and Printing the Web Page Click the Home link (either text or from the image map) on the Skiing Web page Click the Print button on the Command bar to print the Web page. If the Command bar is not visible, right-click the toolbar and click Command bar on the shortcut menu Test the links, both those in the image map and those in the text navigation bar. If any of the links do not work correctly, return to Notepad++ to modify the HTML code, save the changes, and then retest the links in the browser Chapter 5: Creating an Image Map

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 browser title bar. If necessary, click the Close all tabs button Chapter 5: Creating an Image Map

Chapter Summary Define terms relating to image mapping List the differences between server-side and client-side image maps Name the two components of an image map and describe the steps to implement an image map Distinguish between appropriate and inappropriate images for mapping Sketch hotspots on an image Chapter 5: Creating an Image Map

Chapter Summary Describe how the x- and y-coordinates relate to vertical and horizontal alignment Open an image in Paint and use Paint to locate the image map coordinates Create a home page Create a navigation bar of text links Insert an image onto a Web page that is used as an image map and use the usemap attribute to define an image map Chapter 5: Creating an Image Map

Chapter Summary Insert special characters into a Web page Use the <map> </map> tags to start and end a map Use the <area> tag to indicate the shape, coordinates, and URL for a mapped area Create an external style sheet for styles used across the Web site Chapter 5: Creating an Image Map

HTML 7th Edition Chapter 5 Complete