Hw web

226 views

Published on

lab hw

Published in: Design, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
226
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hw web

  1. 1. img By:David Phung ART2830
  2. 2. What is img? <ul><li>Img is an image file </li></ul>
  3. 3. What is its function? <ul><li>When an image is used as a link, many browsers will show a border around the image. </li></ul>
  4. 4. First Required Attribute <ul><li>Src is used to specify the location of the image file. </li></ul>
  5. 5. Second Required Attribute <ul><li>Alt is used to specify the alternative text of the image, which should be a short description. </li></ul>
  6. 6. Optional Attributes #1 <ul><li>Longdesc can be used to specify the location (in the form of a URI) of a description of the image. </li></ul>
  7. 7. Optional Attributes #2 <ul><li>Height can be used to define the height of the image (in pixels). This can also be done with CSS. </li></ul>
  8. 8. Optional Attribute #3 <ul><li>Width can be used to define the width of the image (in pixels). This can also be done with CSS. </li></ul>
  9. 9. Code/example <ul><li>[img] [/img] </li></ul><ul><li><img src=&quot;http://www.htmldog.com/images/logo.gif&quot; alt=&quot;HTML Dog&quot; /> </li></ul>
  10. 10. Website/screenshot example <ul><li>http://htmldog.com/examples/images1.html </li></ul>

×