Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS101 Introduction to Computing HTML Project Two.

Similar presentations


Presentation on theme: "CIS101 Introduction to Computing HTML Project Two."— Presentation transcript:

1 CIS101 Introduction to Computing HTML Project Two

2 Project Two Add links to another Web page Create a home page Use images Use text formats (bold, italic) Insert a background image Add an e-mail link Add an image link

3 Project Two cont. Create links within a Web page Set link targets Describe types of image files Control image sizing Locate images

4 HTML Files Zipped file containing images and HTML files need for CIS101 HTML projects is available at http://csis.pace.edu/~dwyer http://csis.pace.edu/~dwyer Also can access a zipped file for all the projects on Blackboard, Course Material, HTML Student Downloads Link HTML 2e data files.exe

5 Introduction to Links Hyperlinks (or links) are used to connect a Web page to another Web page Links can also be used to create an e-mail link Either text or an image can be used as a hotspot for a link The mouse pointer usually changes when positioned over a hotspot URL appears on status bar when the mouse pointer is over a hotspot

6 Creating text links The most common form of link Words are the hotspot With text links, always use descriptive text as the clickable word(s) Unless otherwise stated, the color of text links is dependent upon browser-defined defaults (see table 2.1) Format to change link colors:

7 Linking Within a Web Page Allows visitors to move quickly from one section of the Web page to another Important for large Web pages (p. 2.08) Move to next section Table of contents

8 Other common links Link to another page in the same Web site (sometimes called internal links) Link to a page in another location (external links) Link to e-mail (opens up e-mail message addressed to e-mail location)

9 Creating a Home Page A home page is the main page of a Web site Visitors usually view the home page first Identify the purpose of your Web site Links should be apparent Include an e-mail link

10 Begin project two Start 1 st page 2000, select a blank document Begin entering HTML code on p. 2.13

11 Web page images (p. 2.17) Classes of Images Inline images – display on page directly External images – only display when visitor clicks a link to display them Image types JPEG GIF Interlaced GIF Image attributes table 2-4

12 Files from Data Disk Save your HTML code in a folder on the desktop Find the directory for the HTML data disk (c:\Course Technology\6543-9) Copy these files into the same folder as your HTML file: greyback.jpg bluebar.jpg ovallaeb.gif sample1.htm

13 Adding a link to 2 nd Web page The and tags are used to create links Referred to as anchor tags Use the Hyperlink REFerence (HREF) attribute to link to another Web page Two items required Text or image to act as hotspot Name of the file to which you want to link

14 Add link Follow instructions on p. 2.23 You will add a link to HTML document provided on data disk, sample1.htm Save file, open browser and test your page and its links

15 Editing the Second Web page Use 1 st Page 2000 to open the second Web page sample1.htm Follow instructions beginning p. 2.34

16 Image borders A border on an image makes the image display as if it has a frame around it If the image is a link, the default (or selected) link color will be the color of the border (see p. 2.39)

17 Image with wrapped text Add the following code (see p. 2.42) You can find ovallaeb.gif with HTML files

18 Creating links within a page Useful to allow visitor navigation up and down your page Use links and targets to do this Targets are spots in your page that you can link to

19 Creating targets Use tag with name attribute to create targets, i.e. Link to that target looks like this: Education The # symbol means the link is on this page

20 Final links Add link back to top Add link to first Web page webreshome.htm

21 Summary of Project Two Describe linking terms and definitions Add a link to another Web page Create a home page Enhance a Web page using images Add bold, italics, and color to text Change bullet type Insert a background image

22 Summary cont. Insert a horizontal rule image Add an e-mail link View the HTML file and test the links Edit the second Web page Insert an image and wrap text around an image Add a text link to another Web site

23 Summary cont. Add an image link to another Web site Create links within a Web page Set link targets Add links to set targets Describe types of image files Control image sizing Locate images


Download ppt "CIS101 Introduction to Computing HTML Project Two."

Similar presentations


Ads by Google