100 likes | 214 Views
Including images in Web pages. S kills : include images in Web pages C oncepts : tag, attribute, value, path (to a stored file). This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. Where does this topic fit?. Internet concepts Applications
E N D
Including images in Web pages Skills: include images in Web pages Concepts: tag, attribute, value, path (to a stored file) This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Where does this topic fit? • Internet concepts • Applications • Technology • Implications • Internet skills • Application development • Content creation • User skills
The <img> tag <img> What is missing?
The <src> attribute <imgsrc=“lucas.jpg”>
Image file in a sub-directory <imgsrc=“pictures/lucas.jpg”>
The border attribute of the img tag <imgsrc=“lucas.jpg” border=“10”>
The height attribute of the img tag <imgsrc=“lucas.jpg” height =“200”>
Self-study questions What happens if you make a typing error and misspell the image file name? We have seen several attributes of the <img> tag. What is another one and what does it do?
Resource <img> tag reference page: http://www.w3schools.com/tags/tag_img.asp