including images with the img tag
DESCRIPTION
Including images with the img tag. Skills : using the img tag IT concepts : none. 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 - PowerPoint PPT PresentationTRANSCRIPT
Including images with the img tag
Skills: using the img tag
IT concepts: none
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
(HTML)– Content creation
<h1 color = “red”>
tag attribute value
Review tag, attribute and value
Img – the tag to include images
Attributes:
src – the name and location of the image file
border – the thickness of the border
<img src = “photo.jpg”>
Examples
<img src = “subdir/photo.jpg”>
The border attribute of the src tag
<img src=“lucas.jpg” border = “1”> <img src=“lucas.jpg” border = “10”>
A few questions
What happens if you misspell the image file name?
What values may the border attribute take on?
What is another attribute of the src tag?
Including images with the img tag
Skills: using the img tag
IT concepts: none
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.