Presentation is loading. Please wait.

Presentation is loading. Please wait.

Including images in Web pages Skills: use the tag IT concepts: none This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike.

Similar presentations


Presentation on theme: "Including images in Web pages Skills: use the tag IT concepts: none This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike."— Presentation transcript:

1 Including images in Web pages Skills: use the tag IT concepts: none This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License.

2 Image processing in context Internet concepts –Applications –Technology –Implications for Individuals Organizations Society Internet skills –Application development –Content creation Text Images Audio Video

3 The tag and the src attribute The tag is used to include an image in a Web page. But, we need to specify which image to include. The value of the src attribute specifies which image to include. To include an image called lucas.jpg, that was in the same directory as the Web page, one would write:

4 If the image file is in a different directory The previous example assumes that the Web page and the image file lucas.jpg are in the same directory. If they are not, the path to the directory must also be specified in the value of the src attribute. If the file were in a subdirectory called pictures, the HTML would be:

5 The border attribute of the src tag The value of the border attribute of the tag on the right is 10. What is the meaning of the 10 – ten what?


Download ppt "Including images in Web pages Skills: use the tag IT concepts: none This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike."

Similar presentations


Ads by Google