30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1354 Introduction <strong>to</strong> HyperText Markup Language 4: Part 1 Appendix H<br />

Attribute alt is provided for browsers that have images turned off or cannot view images<br />

(e.g., text-based browsers). The value of the alt attribute will appear on-screen in place<br />

of the image, giving the user an idea of what was in the image. The alt attribute is especially<br />

important for making Web pages accessible <strong>to</strong> users with disabilities, as discussed in<br />

Chapter 24, Accessibility.<br />

Good <strong>Program</strong>ming Practice H.9<br />

Include a description of the purpose of every image, using the alt attribute in the img tag. H.9<br />

Now that we have discussed placing images on your Web page, we will show you how<br />

<strong>to</strong> transform images in<strong>to</strong> anchors <strong>to</strong> provide links <strong>to</strong> other sites on the Internet (Fig. H.6).<br />

1 <br />

3 <br />

4<br />

5 <br />

6 <br />

7<br />

8 <br />

9 <strong>Visual</strong> <strong>Basic</strong> .<strong>NET</strong> - Navigation Bar<br />

10 <br />

11<br />

12 <br />

13<br />

14 <br />

15 <br />

16 <br />

18<br />

19 <br />

20 <br />

22<br />

23 <br />

24 <br />

26<br />

27 <br />

28 <br />

30<br />

31 <br />

32 <br />

34<br />

35 <br />

36 <br />

38 <br />

39<br />

Fig. H.6 Using images as link anchors (part 1 of 2).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!