码迷,mamicode.com
首页 > 其他好文 > 详细

8-Images

时间:2018-02-18 22:45:36      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:image   lte   alter   tran   height   sla   use   sem   url   

  • 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

8-Images

标签:image   lte   alter   tran   height   sla   use   sem   url   

原文地址:https://www.cnblogs.com/robohou/p/8453301.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!