A Web page is rather flat and uninteresting when there are no pictures, graphics, and there are no colors. This chapter shows how to proper include images, sound files, and video files into your page. We will also use inline style to add color to elements and changes fonts on our pages.
Learning Outcomes for this Chapter
Upon completion of the reading of this chapter and assignments found at the end, a student should be able to:
- insert an image on a web page with alternate text for accessibility,
- recall, describe, and choose images in various formats based upon the specific features of the image,
- add audio and video playback to a Web page,
- differentiate between common audio formats and include multiple formats in a single tag,
- differentiate between common video formats and include multiple formats in a single tag,
- add color to the page and the content of the page using inline style,
- explain the concept of RGB colors and use the color name, hexadecimal form, and rgb() function in CSS,
- recall the 5 standard fonts families found in all Web browsers,
- change the font family and size on an element or on an entire Web page.