<h4>图像标签的使用</h4>
    <img src = "applebox.jpg"/>
    <h4>alt图像替换文本 图像显示不出来的时候用文字替换:</h4>
    <img src = "applebox1.jpg" alt = "苹果盒"/>
    <h4>title图像提示文本 鼠标放在图片时显示的内容:</h4>
    <img src = "applebox.jpg" title = "苹果盒"/>
width
    <h4>width给图像设定宽度</h4>
    <img src = "applebox.jpg" alt = "苹果盒"title = "苹果盒"width="500"/>
    <h4>hight给图像设定高度</h4>
    <img src = "applebox.jpg" alt = "苹果盒"title = "苹果盒"width="500"hight="100"/>
    <h4>border 给图像设定边框</h4>
    <img src = "applebox.jpg" alt = "苹果盒"title = "苹果盒"width="500"hight="100" border="15"/>
posted on 2022-10-31 19:44  na2co3-  阅读(27)  评论(0)    收藏  举报