TechTrain "Just-In-Time" - SEARCH for mini-lessons for busy people!"Step-By-Step" tutorials and lesson modules.TechTrain Home
About TechTrain
Step- By-Step
Just- In-Time Search
Products
Services
Guestbook
Technology Certificates
Graduate Courses
Interactive Internet Email
Communication
FTP (File Transfer Protocol), Telnet, and Gopher
World Wide Web Search
Build Web Pages Create a Simple Page
Create a Second Page
Link to a Web Page
Graphics and Colors on your Web Page
Graphics on Your
Web Page
Examples of Graphics
How to Find Graphics
Linking with Graphics

Color Lesson
How to Insert an Image (IMG) Lesson
How to Link with an Image (IMG) Lesson

Color Example
How to Insert an Image (IMG) Examples
How to Link with an Image (IMG) Examples

Note the graphics are identified in HTML tags using the image tag.

The examples shown here are the "Yahoo!" search engine home page and the "Discovery Channel School" page.

The graphic at the top of the "Yahoo" Web page includes the "Yahoo!" logo surrounded by buttons that can be clicked to access "new", "cool", "headlines", and "Yahoo info".

Click on the "Yahoo" link to see an example of the "Yahoo" page and HTML.
Click on the "Discovery" link to see an example of the "Discovery" Web page and HTML.

Yahoo Search Engine

Discovery Channel School

  Top of Page

Downloading & Drawing

Graphics are available for downloading from the Internet. If you wish, you may draw graphics using graphics software. (Most computer systems come with graphics software, "Paintbrush", for example.

Click on the "Download" link to see examples of buttons and pictures that may be downloaded from the Internet.

Click on the "Draw" button to learn how to create your own graphics using the "Paintbrush" program. This program lets you create your own graphics, which may, then, be included in your Web page.

Download Graphics from the Internet

Draw your own graphics

  Top of Page

Color on a Web Page

Color on a Web Page can be specified using color names (red, green, blue) or color codes (#FF0000, #00FF00, #0000FF).

Color

Click on the Color link to learn how to incorporated color in fonts and backgrounds.

Color on a Web Page

Top of Page

 

IMG Tag

<IMG SRC=". . ." ALT=". . ." HEIGHT=". . ." WIDTH=". . ." BORDER=". . .">

  1. <IMG SRC="note.gif"> results in
  2. <IMG SRC="note.gif" ALT="This is an icon for email" > results in
    This is an icon for email
  3. <IMG SRC="smiley.gif"> results in image using actual size
  4. <IMG SRC="smiley.gif" HEIGHT="28" WIDTH="28" > results in larger image
  5. <IMG SRC="lightbulb.gif" HEIGHT="70" WIDTH="70" BORDER="5"> results in
    This is a picture named lightbulb.gif, sized to 70 pixels by 70 pixels with a 5 pixel border
  Top of Page

 

Link with Images

<A HREF="..."><IMG SRC="name of picture to click on"></A>

  1. <A HREF="http://www.yahoo.com"><IMG SRC="note.gif" ALT="YAHOO!" ></A> results in
    YAHOO!
    Note1
  2. <A HREF="http://www.techtrainteam.com/courses/classes.html"><IMG SRC="question.gif"> </A> results in
  3. <A HREF="mailto:techtrain@techtrainteam.com" ALT="This is an icon for email" ><IMG SRC="note.gif" ></A> results in
    This is an icon for email Note2
    Note1: In this example, ALT is in the IMG Tag.
    Note2: In this example, ALT is in the Anchor Tag.
  Link Example The HTML code shown below includes several anchor tags for hyperlinks.
  1. Open Notepad
    To open Notepad, click on Start | Programs | Accessories | Notepad

  2. Type the following HTML instructions in the Notepad program.

    <HTML>
    <HEAD>
    <TITLE>My Second Web Page</TITLE>
    </HEAD>
    <BODY>
    <H1> Linking with Images</H1>
    <H3>Using the Anchor Tag with an image</H3>
    Click on image or link to go to
    <A HREF="http://www.yahoo.com">YAHOO!</A>
    Yahoo is an Internet Search Engine.
    <BR>
    <A HREF="http://www.yahoo.com">
    <IMG SRC="yahooGraphic.gif" BORDER="0" ALT="Click here to YAHOO!">
    </A>
    <BR>
    Click on image or link to go to
    <A HREF="http://www.microsoft.com/">Microsoft.</A>
    <BR>
    <A HREF="http://www.microsoft.com/">
    <IMG SRC="microsoft.gif" BORDER="0" ALT="Click here for Microsoft">
    </A>
    <BR>

    </BODY>
    </HTML>

  3. Save your Notepad file.
  4. Open your Web page in a browser.
  5. Then, click on "Link Example" to see if your Web page looks like the example. .
  Top of Page

 
TechTrain Home
© Technology Training Team
Please contact us at TechTrainTeam