Question: Problem 1 (30%) Write the HTML to create an image hyperlink. The image is called myfamily.jpg. (5%) It is 200 pixels high by 300 pixels

Problem 1 (30%)

Write the HTML to create an image hyperlink.

  • The image is called myfamily.jpg. (5%)
  • It is 200 pixels high by 300 pixels wide. (10%)
  • The image should link to a web page called family.html. (10%)
  • There should be no border on the image. (5%)

Suppose that the web page document that contains your image hyperlink is named as index.html. myfamily.jpg is in a folder called images. Index.html, family.html and the images folder are in the same directory, c:\MyFolder (see picture below for their directory relationship).

Note: please give the section of HTML codes for the image hyperlink only (including the anchor tags and codes between the anchor tags), and do not show any other parts of codes.

  • Q2: Add image.gif image in a web page so that:
    • When the visitor clicks the upper half of this image, the visitor will be directed to a link(15%);
    • When the visitor clicks the lower half of this image, the visitor will be directed to another link (15%);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!