8-Images

  • HTML Image Tags

    TagDescription
    <img> Defines an image
    <map> Defines an image-map
    <area> Defines a clickable area inside an image-map

 

 

 

 

 

 

  • Use the HTML <img> element to define an image
  • Use the HTML src attribute to define the URL of the image
  • Use the HTML alt attribute to define an alternate text for an image, if it cannot be displayed
  • Use the HTML width and height attributes to define the size of the image
  • Use the CSS width and height properties to define the size of the image (alternatively)
  • Use the CSS float property to let the image float
  • Use the HTML <map> element to define an image-map
  • Use the HTML <area> element to define the clickable areas in the image-map
  • Use the HTML <img>'s element usemap attribute to point to an image-map

posted on 2018-02-18 22:27  克拉波隆方程  阅读(133)  评论(0编辑  收藏  举报

导航